plotDomainogram: Plot domainogram

View source: R/plotUMI4C.R

plotDomainogramR Documentation

Plot domainogram

Description

Plot domainogram

Usage

plotDomainogram(
  umi4c,
  dgram_function = "quotient",
  grouping = NULL,
  colors = NULL,
  xlim = NULL
)

Arguments

umi4c

UMI4C object as generated by makeUMI4C.

dgram_function

Function used for calculating the fold-change in the domainogram plot, either "difference" or "quotient". Default: "quotient".

grouping

Grouping used for the different samples. If none available or want to add new groupings, run addGrouping.

colors

Named vector of colors to use for plotting for each group.

xlim

Limits for the plot x axis (genomic coordinates).

Value

Produces the domainogram plot, summarizing the merged number of UMIs at the different scales analyzed (y axis).

Examples

data("ex_ciita_umi4c")
ex_ciita_umi4c <- addGrouping(ex_ciita_umi4c, grouping="condition")

plotDomainogram(ex_ciita_umi4c, grouping = "condition")

Pasquali-lab/UMI4Cats documentation built on Nov. 3, 2024, 3:10 p.m.