View source: R/aggregate_by_vector.R
colCounts | R Documentation |
Returns the number of non-NA features in a features by sample matrix.
colCounts(x, ...)
x |
A |
... |
Currently ignored. |
A numeric
vector of length identical to ncol(x)
.
Laurent Gatto
Other Quantitative feature aggregation:
aggregate()
,
medianPolish()
,
robustSummary()
m <- matrix(c(1, NA, 2, 3, NA, NA, 4, 5, 6),
nrow = 3)
colCounts(m)
m <- matrix(rnorm(30), nrow = 3)
colCounts(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.