View source: R/filter_counts.R
filter_counts | R Documentation |
Remove features with zero counts and less than the low count cutoff. The default method is a maximum-based filter where every sample is less than or equal to the low count cutoff.
filter_counts(count_tbl, n = 1, sum = FALSE)
count_tbl |
a count matrix, data.frame or tibble |
n |
low count cutoff, default 1 |
sum |
Use total read counts instead of the maximum. |
A count matrix
Chris Stubben
c1 <- matrix(c(0,0,0,2,12,0,0,1,1,0,0,1,1,1,0), ncol=3)
c1
filter_counts(c1)
filter_counts(c1, sum=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.