Description Usage Arguments Value Author(s) See Also Examples
Counting the number of non-zero counts in each row (per feature) or column (per cell).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
A numeric matrix of counts where features are rows and cells are columns. Alternatively, a SummarizedExperiment containing such counts. |
... |
For the generic, further arguments to pass to specific methods. For the SummarizedExperiment method, further arguments to pass to the ANY method. |
byrow |
Logical scalar indicating whether to count the number of detected cells per feature.
If |
detection_limit |
Numeric scalar providing the value above which observations are deemed to be expressed. |
subset_row |
Logical, integer or character vector indicating which rows (i.e. features) to use. |
subset_col |
Logical, integer or character vector indicating which columns (i.e., cells) to use. |
BPPARAM |
A BiocParallelParam object specifying whether the calculations should be parallelized.
Only relevant when |
exprs_values |
String or integer specifying the assay of |
An integer vector containing counts per gene or cell, depending on the provided arguments.
Aaron Lun
numDetectedAcrossFeatures
and numDetectedAcrossCells
,
to do this calculation for each group of features or cells, respectively.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.