View source: R/normalize_filter.R
cbcb_filter_counts | R Documentation |
This was a function written by Kwame Okrah and perhaps also Laura Dillon to remove low-count genes. It drops genes based on a cpm threshold and number of samples.
cbcb_filter_counts(count_table, threshold = 1, min_samples = 2, libsize = NULL)
count_table |
Data frame of (pseudo)counts by sample. |
threshold |
Lower threshold of counts for each gene. |
min_samples |
Minimum number of samples. |
libsize |
Table of library sizes. |
Dataframe of counts without the low-count genes.
[edgeR]
## Not run:
filtered_table <- cbcb_filter_counts(count_table)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.