Description Usage Arguments Details Value Examples
View source: R/ascend_filtering.R
Automatically filter cells based on expression levels. These values are then used to filter out cells based on the following criteria:
Low overall gene expression.
Low number of expressed genes.
Expression of control genes beyond set threshold.
1 2 | filterByOutliers(object, cell.threshold = 3, gene.threshold = 3,
control.threshold = 3)
|
object |
An EMSet. |
cell.threshold |
Mean Absolute Deviation (MAD) value to filter cells by library size. Default: 3. |
gene.threshold |
Mean Absolute Deviation (MAD) value to filter cells by number of expressed genes. Default: 3 |
control.threshold |
Mean Absolute Deviation (MAD) value to filter cells by proportion of control genes. Default: 3. |
This function then loads the filtered expression matrix into the EMSet.
An EMSet with outlier cells filtered out.
1 2 3 4 5 6 | # Load EMSet
raw_emset <- ascend::raw_set
# Filter by outliers with default settings
filtered_emset <- filterByOutliers(raw_emset, cell.threshold = 3,
gene.threshold = 1.5, control.threshold = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.