View source: R/rank_invariance_express.R
rank_invariance_express | R Documentation |
This function computes the Rank Invariance value for each gene, over the
groups defined by the user. This function computes the same RI values as running
rank_cells()
+ rank_group()
+ rank_invariance()
.
Genes with high RI values are considered good candidate TREGs. This function is
more efficient than running the previous three functions.
rank_invariance_express(sce, group_col = "cellType", assay = "logcounts")
sce |
SummarizedExperiment-class object with
the |
group_col |
name of the column in the
colData() of |
assay |
A |
A numeric()
with the rank of invariance for each gene. High values
represent low Rank Invariance, these genes are considered good candidate TREGs.
Other invariance functions:
rank_cells()
,
rank_group()
,
rank_invariance()
## Calculate RI for the sce object
## Highest RI value is best candidate TREG, and can change based on the grouping of interest
rank_invariance_express(sce_zero_test, group_col = "group")
rank_invariance_express(sce_zero_test, group_col = "cellType")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.