condenseSE: Condense the output of condenseRE to reconstruct per-sample...

View source: R/condenseRE.R

condenseSER Documentation

Condense the output of condenseRE to reconstruct per-sample GRanges objects to plot

Description

Condense the output of condenseRE to reconstruct per-sample GRanges objects to plot

Usage

condenseSE(obj, sample.name = NULL)

Arguments

obj

Output of condenseRE or can be a RaggedExperiment

sample.name

Vector of samples/cells to extract

Value

GRanges or list of per-sample GRanges to pass to plotAB or export

Examples

grl <- GRangesList(GRanges(c("A:1-5", "A:4-6", "A:10-15"), score=1:3),
GRanges(c("A:1-5", "B:1-3"), score=4:5))
names(grl) <- c("A", "B")                  
x <- RaggedExperiment(grl)
condense.x <- condenseSE(x, sample.name = "A")

biobenkj/compartmentalizer documentation built on Oct. 13, 2023, 5:26 p.m.