Description Usage Arguments Value Examples
View source: R/PlotPathwayScores.R
A function that plot and illustrate the enrichment of a given pathway for given cells
1 | PlotPathwayScores(pathway_scores, start, end, pathway_names)
|
pathway_scores |
Result get from AUCell_batch which contain the rank based on AUCell of every cells in a geneset.The rows contains the barcodes of each cell. |
start |
number of rows that you want start with |
end |
number of rows that you want end |
pathway_names |
the name of the pathway you want to compare with |
Returns a plot with y axis with cell barcodes and their expression level of certain pathways
1 2 3 4 5 | expr <- load_expression("mf_patient02.csv")
pathway_scores <- AUCell_batch(counts(expr), genesets = c(hallmarks), num_batches=20)
Plot <- PlotPathwayScores(pathway_scores,1,3,HALLMARK_CHOLESTEROL_HOMEOSTASIS)
# Access plot
plot
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.