plot_aneuploidy: Aneuploidy graph

View source: R/plot_aneuploidy.R

plot_aneuploidyR Documentation

Aneuploidy graph

Description

Graphs showing the median expression in each chromosome for each community.

Usage

plot_aneuploidy(
  ge_df,
  comm_df = NULL,
  baseline_cells = NULL,
  baseline_communities = NULL,
  max_cells = 100,
  chrs_order = c(1:22, "X", "Y")
)

Arguments

ge_df

a data.frame with gene expression (better if binned and normalized).

comm_df

a data.frame with community information for each cell.

baseline_cells

cells to use as baseline.

baseline_communities

the communities to use as baseline.

max_cells

the maximum number of cells to consider in the boxplot of each community. Default: 100.

chrs_order

order of the chromosomes in the graph.

Value

a list of ggplot2 object, one for each chromosome.

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.