Description Usage Arguments Value Examples
View source: R/ascend_filtering.R
Filter cells in an expression matrix based on the expression levels of a
specific control.
This function should be used AFTER the cells have undergone general filtering
with the filterByOutliers
function.
1 | filterByControl(object, control = NULL, pct.threshold = 20)
|
object |
An EMSet. |
control |
Name of the control group, as used in the named list supplied to the EMSet object. |
pct.threshold |
Percentage threshold to filter cells by, as a whole number. Default: 20. |
An EMSet with filtered controls.
1 2 3 4 5 6 | # Load EMSet
raw_emset <- ascend::raw_set
# Filter by outliers with default settings
filtered_emset <- filterByControl(raw_emset, control = "Mt",
pct.threshold = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.