collapseRepliCounts: Collapse multiple technical replicate count columns into two...

Description Usage Arguments Value See Also Examples

View source: R/Counts.R

Description

.

Usage

1
collapseRepliCounts(x, pair=nv(levels(x$samples$group)[1:2] , c('ref','obs')))

Arguments

x

a MANTA object.

pair

the pairs indicating which columns to collapse

Value

a collapsed, two-column count table

See Also

DGEList, manta

Examples

1
2
3
4
5
6
cts <- matrix(data=rnbinom(28,2,.4), ncol=4, nrow=7)

colnames(cts) <- apply(expand.grid(c('a','b'),1:2), 1, paste, collapse='_')

x <- manta(cts, makeSampleDF(cts, group=rep(c('a','b'),2)))
collapseRepliCounts(x, pair=c('a','b'))

armbrustlab/manta documentation built on Dec. 17, 2019, 12:06 a.m.