MEDIPS.mergeSets: Creates one merged MEDIPS SET out of two.

Description Usage Arguments Author(s) Examples

Description

A MEDIPS SET contains a genome vector which is the count coverage at genome wide windows. Moreover, the MEDIPS SET stores the total number of reads given for calculating the genome vector. Two MEDIPS SETs can be merged whenever they have been construcetd based on the same reference genome, the same set of chromosomes and for the same window size. The returned MEDIPS SET will contain a genome vector where at each window the counts of both given MEDIPS SETs are added. In addtion, the total number of reads will be the sum of both given MEDIPS SETs. Please note, several other attributes like the extend or shift value can be different in both of the given MEDIPS SETs and will be empty in the merged MEDIPS SET. The merged MEDIPS SET will not contain any path to a concrete input file anymore and therefore, cannot be used for the MEDIPS.addCNV function anymore.

Usage

1
MEDIPS.mergeSets(MSet1=NULL, MSet2=NULL, name="Merged Set")

Arguments

MSet1

A MEDIPS SET object as created by the MEDIPS.createSet function

MSet2

A MEDIPS SET object as created by the MEDIPS.createSet function

name

The new sample name of the merged MEDIPS SET

Author(s)

Lukas Chavez

Examples

1
2
3
4
5
6
7
library(MEDIPSData)
data(hESCs_Input)
data(DE_Input)

merged_Set = MEDIPS.mergeSets(hESCs_Input, DE_Input, name="Merged_input")

merged_Set

emmecola/MEDIPS documentation built on May 16, 2019, 5:10 a.m.