joinReplicates: Joins together two GRange objects in a single containing all...

Description Usage Arguments Value Author(s) Examples

View source: R/Replicates.R

Description

This function joins together data that come from biological replicates to perform analysis

Usage

1
joinReplicates(methylationData1, methylationData2, usecomplete = FALSE)

Arguments

methylationData1

the methylation data stored as a GRanges object with four metadata columns (see methylationDataList).

methylationData2

the methylation data stored as a GRanges object with four metadata columns (see methylationDataList).

usecomplete

Boolean, determine wheter, when the two dataset differ for number of cytosines, if the smaller dataset should be added with zero reads to match the bigger dataset.

Value

returns a GRanges object containing multiple metadata columns with the reads from each object passed as parameter

Author(s)

Alessandro Pio Greco and Nicolae Radu Zabet

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# load the methylation data
data(methylationDataList)

# Joins the wildtype and the mutant in a single object
joined_data <- joinReplicates(methylationDataList[["WT"]],
                              methylationDataList[["met1-3"]], FALSE)

## End(Not run)

DMRcaller documentation built on Nov. 8, 2020, 5:26 p.m.