mergeSampleData-methods: *mergeSampleData*

Description Usage Arguments Value Note Examples

Description

mergeSampleData combines samples from multiple TSS experiments into a single GRanges object

Usage

1
2
3
4
mergeSampleData(experimentName, n.cores, tagCountThreshold)

## S4 method for signature 'tssObject,numeric,numeric'
mergeSampleData(experimentName, n.cores = 1, tagCountThreshold = 1)

Arguments

experimentName

an S4 object of class tssObject that contains information about the experiment.

n.cores

the number of cores to be used for this job. ncores=1 means serial execution of function calls (numeric)

tagCountThreshold

the number of TSSs required at a given position for it to be considered in sample data merging. (numeric) Note: Merged data sets can become very large when the tagCountThreshold is set low (leading to inclusion of a lot of "noise" and resulting in long execution times in the necessary TSS position ordering step).

Value

tssCountData datasets are merged (according to the sampleIDs) and put in the tssCountDataMerged slot in the returned tssObject.

Note

An example similar to the one provided can be found in the vignette (/inst/doc/TSRchitect.Rmd).

Examples

1
2
3
4
load(system.file("extdata", "tssObjectExample.RData",
package="TSRchitect"))
tssObjectExample <- mergeSampleData(experimentName=tssObjectExample,
                                    n.cores=1, tagCountThreshold=1)

BrendelGroup/TSRchitect documentation built on March 3, 2021, 1:45 a.m.