Description Usage Arguments Value Examples
A simple heuristic feature selection procedure.
Select features with at least minCount
counts
in at least minCell
cells. A SingleCellExperiment
object with subset features will be stored in the
altExp slot with name altExpName
.
The name of the assay
slot in altExp
will be the same as useAssay
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | selectFeatures(x, ...)
## S4 method for signature 'SingleCellExperiment'
selectFeatures(
x,
minCount = 3,
minCell = 3,
useAssay = "counts",
altExpName = "featureSubset"
)
## S4 method for signature 'matrix'
selectFeatures(
x,
minCount = 3,
minCell = 3,
useAssay = "counts",
altExpName = "featureSubset"
)
|
x |
A numeric matrix of counts or a
SingleCellExperiment
with the matrix located in the assay slot under |
... |
Ignored. Placeholder to prevent check warning. |
minCount |
Minimum number of counts required for feature selection. |
minCell |
Minimum number of cells required for feature selection. |
useAssay |
A string specifying the name of the assay slot to use. Default "counts". |
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
A SingleCellExperiment object with a
altExpName
altExp slot. Function
parameter settings are stored in the metadata
"select_features"
slot.
1 2 3 4 | data(sceCeldaCG)
sce <- selectFeatures(sceCeldaCG)
data(celdaCGSim)
sce <- selectFeatures(celdaCGSim$counts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.