removeMissing | R Documentation |
Remove missing cells or features from liger object
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)
)
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 |
Updated (subset) object
.
removeMissingObs
will be deprecated. removeMissing
covers and
expands the use case and should be easier to understand.
# The example dataset does not contain non-expressing genes or empty barcodes
pbmc <- removeMissing(pbmc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.