removeMissing {rliger} | R Documentation |
Remove missing cells or features from liger object
Description
Remove missing cells or features from liger object
Usage
removeMissing(
object,
orient = c("both", "feature", "cell"),
minCells = NULL,
minFeatures = NULL,
useDatasets = NULL,
newH5 = TRUE,
filenameSuffix = "removeMissing",
verbose = getOption("ligerVerbose", TRUE),
...
)
removeMissingObs(
object,
slot.use = NULL,
use.cols = TRUE,
verbose = getOption("ligerVerbose", TRUE)
)
Arguments
object |
liger object |
orient |
Choose to remove non-expressing features ( |
minCells |
Keep features that are expressed in at least this number of
cells, calculated on a per-dataset base. A single value for all datasets or
a vector for each dataset. Default |
minFeatures |
Keep cells that express at least this number of features,
calculated on a per-dataset base. A single value for all datasets or a vector
for each dataset. Default |
useDatasets |
A character vector of the names, a numeric or logical
vector of the index of the datasets to be processed. Default
|
newH5 |
Logical, whether to create a new H5 file on disk for each
H5-based dataset on subset. Default |
filenameSuffix |
When subsetting H5-based datasets to new H5 files, this
suffix will be added to all the filenames. Default |
verbose |
Logical. Whether to show information of the progress. Default
|
... |
Arguments passed to |
slot.use |
Deprecated. Always look at |
use.cols |
Deprecated. Previously means "treating each column as
a cell" when |
Value
Updated (subset) object
.
Note
removeMissingObs
will be deprecated. removeMissing
covers and
expands the use case and should be easier to understand.
Examples
# The example dataset does not contain non-expressing genes or empty barcodes
pbmc <- removeMissing(pbmc)