collapseReplicates: Collapse signal from replicates

View source: R/exports.R

collapseReplicatesR Documentation

Collapse signal from replicates

Description

Collapses all replicates merges all samples from a BSFDataSet object into a single signal stream, only split by minus and plus strand.

Usage

collapseReplicates(object, collapseAll = FALSE)

Arguments

object

a BSFDataSet object

collapseAll

TRUE/FALSE, if all samples should be collapsed (TRUE), or if samples should be kept separate by condition (FALSE)

Value

object of type BSFDataSet with updated signal

See Also

BSFDataSet

Examples


# load data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))

bdsNew = collapseReplicates(bds)


ZarnackGroup/BindingSiteFinder documentation built on May 31, 2024, 3:29 a.m.