detect_sparse | R Documentation |
For convenience, acorde
includes a function to assist
lenient filtering of isoforms based on the proportion of zero expression values
across cell types. Based on this criteria, a minimum number of cells must have
non-zero expression in at least one cell type.
detect_sparse(data, id_table, ct_proportion = 0.2, isoform_col = NULL)
data |
A data.frame or tibble object including isoforms as rows and cells as columns. Isoform IDs can be included as row names (data.frame) or as an additional column (tibble). |
id_table |
A data frame including two columns named |
ct_proportion |
A numeric indicating the minimum proportion of cells with non-zero expression that will be allowed per cell type. Isoforms with a non-zero value proportion below the threshold in all cell types will be flagged as sparse. Defaults to 0.2 (i.e. 20%). |
isoform_col |
When a tibble is provided in |
A tibble
containing two columns, the first one including
transcript IDs, and the second containing logical values specifying whether
the isoform was flagged as sparse (considering the provided threshold of
cell type proportion with non-zero expression).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.