colMeans,Seurat-method | R Documentation |
Calculate rowSums
, colSums
,
rowMeans
, and colMeans
on
Seurat
objects
## S4 method for signature 'Seurat'
colMeans(x, na.rm = FALSE, dims = 1, ..., slot = "data")
## S4 method for signature 'Seurat'
colSums(x, na.rm = FALSE, dims = 1, ..., slot = "data")
## S4 method for signature 'Seurat'
rowMeans(x, na.rm = FALSE, dims = 1, ..., slot = "data")
## S4 method for signature 'Seurat'
rowSums(x, na.rm = FALSE, dims = 1, ..., slot = "data")
x |
A |
na.rm |
logical. Should missing values (including |
dims |
completely ignored by the |
... |
potentially further arguments, for method |
slot |
Name of assay expression matrix to calculate column/row means/sums on |
colMeans
: the column (cell-wise) means of slot
colSums
: the column (cell-wise) sums of slot
rowMeans
: the row (feature-wise) means of slot
rowSums
: the row (feature-wise) sums of slot
Seurat
head(colMeans(pbmc_small))
head(colSums(pbmc_small))
head(rowMeans(pbmc_small))
head(rowSums(pbmc_small))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.