writeData: Write Epigenetic Data

Description Usage Arguments Details Author(s) See Also Examples

Description

Write epigenetic intesity data to a file.

Usage

1
writeData(data, groupLabels, prefix, n = 61, width = 2000, name = NULL, intTemp = FALSE)

Arguments

data

A data.frame of intensity data to export.

groupLabels

Labels of biological data, use "Treament" or "Control" to indicate the group of data.

filename

The filename to be saved as.

n

Integer of n-tiles for seperating the data.

name

Labels of experiment data, use "WGBS", "fractional" or "Bisulfite" to indicate DNA methylation data, H3KXXXX to indicate histone modification data.

intTemp

Logical whether to write template files for holding the chromatin interation data.

Details

This function writes the epigenetic intensity data per loci sorted with chromesomal positions to a csv file. The data must include all the columns of the returned genomic regions object by setting processedData=TRUE in dPCA

Author(s)

Qi Wang

See Also

dPCA

Examples

1
2
3
4
data(CLL)
j <- c(1,2,6,8)
res <- dPCA(meta, bed, data, datasets=j, transform=j, normlen=j, processedData=TRUE, verbose=TRUE)
writeData(res$gr, c("CLL", "Bcell"), "CLL")

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.