Description Usage Arguments Value Examples
make_rnk() makes rank lists for pre-ranked geneset enrichment analysis.
1 2 |
celltype |
CellType to create rank lists for. |
rank_df |
a dataframe with the pre-requisite rank statistics |
gene_name |
column in rank_df containing gene names. |
rank_stat |
column in rank_df containing statistic to rank genes by. |
decreasing |
logical; whether to rank genes by decreasing value of rank_stat. |
write_rnk |
logical; whether to write .rnk files for GSEA |
output_dir |
name of directory to write .rnk files to; if directory does not exist, it will be created |
output_name |
prefix for .rnk file names; .rnk files will be named "output_name_celltype.rnk" |
group_column |
column name of column in annotation object with values corresponding to those in group_vector to use for computing logical columns. Defaults to NULL |
a list
1 | make_rnk(Rods, rank_df, "Gene_symbol", "Rank stat", decreasing =T, write_rnk=F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.