R/plotting_functions.R
plot_pie_most_contributing_chr.RdPie chart of top contribution of chromosomes in the 100 most contributing features to PCA #'
plot_pie_most_contributing_chr( scExp, component = "Component_1", n_top_bot = 100 )
| scExp | A SingleCellExperiment containing "PCA" in reducedDims and gene annotation in rowRanges |
|---|---|
| component | The name of the component of interest |
| n_top_bot | An integer number of top and bot regions to plot (100) |
A pie chart showing the distribution of chromosomes in the top features with the largest absolute value in the component of interest