rvmeta.writeCovData: Write covariance association statistics files.

rvmeta.writeCovDataR Documentation

Write covariance association statistics files.

Description

Write covariance association statistics files.

Usage

rvmeta.writeCovData(rvmetaData, outName)

Arguments

rvmetaData

a list vector. It's usually read by rvmeta.readDataByRange or rvmeta.readDataByGene function

outName

character, a text indicating output file prefix

Value

TRUE only if succeed

See Also

http://zhanxw.com/seqminer/ for online manual and examples

Examples

scoreFileName = system.file("rvtests/rvtest.MetaScore.assoc.anno.gz", package = "seqminer")
covFileName = system.file("rvtests/rvtest.MetaCov.assoc.gz", package = "seqminer")
geneFile = system.file("vcf/refFlat_hg19_6col.txt.gz", package = "seqminer")
cfh <- rvmeta.readDataByRange(scoreFileName, covFileName, "1:196621007-196716634")

outFile <- file.path(tempdir(), "cfh.MetaCov.assoc.gz")
rvmeta.writeCovData(cfh, outFile)
cat('Outputted MetaCov file are in the temp directory:', outFile, '\n')

seqminer documentation built on Oct. 7, 2024, 1:15 a.m.