apply_filters | R Documentation |
The purpose of filtering is to remove lowly express genes
apply_filters(
count_matrix,
median_min = 1,
expression_sum_min = 10,
max_min = 5,
range_min = 5,
prop_zero_max = 0.8,
cv_min = NULL,
cv_max = NULL,
max_to_median_max = NULL
)
count_matrix |
A matrix of gene counts (possibly transformed). rows are genes, columns are individuals |
median_min |
minimum allowed median count value in the sample. Default is 1. |
expression_sum_min |
minimum allowed sum of counts across individuals. Default is 10. |
max_min |
minimum allowed maximum value in the sample for a gene. Default is 5. |
range_min |
minimum allowed range of counts in the sample. Default is 5. |
prop_zero_max |
maximum allowed proportion of individuals with count of zero for a transcript. Default is 0.8. |
cv_min |
minimum allowed value of coefficient of variation. Default is NULL. |
cv_max |
maximum allowed value of coefficient of variation. Default is NULL. |
max_to_median_max |
maximum allowed ratio between the maximum to the |
Matrix of gene counts, with filtered (reduced) rows.
data(rnaseq_count_matrix)
apply_filters(count_matrix=rnaseq_count_matrix, median_min = 1, expression_sum_min = 10,max_min = 5,
range_min = 5, prop_zero_max = 0.8,cv_min = NULL, cv_max = NULL,
max_to_median_max = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.