plot_pie_most_contributing_chr: Pie chart of top contribution of chromosomes in the 100 most...

View source: R/plotting_functions.R

plot_pie_most_contributing_chrR Documentation

Pie chart of top contribution of chromosomes in the 100 most contributing features to PCA #'

Description

Pie chart of top contribution of chromosomes in the 100 most contributing features to PCA #'

Usage

plot_pie_most_contributing_chr(
  scExp,
  component = "Component_1",
  n_top_bot = 100
)

Arguments

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)

Value

A pie chart showing the distribution of chromosomes in the top features with the largest absolute value in the component of interest

Examples

data(scExp)
 plot_pie_most_contributing_chr(scExp, component = "Component_1")

vallotlab/ChromSCape documentation built on Oct. 15, 2023, 1:47 p.m.