rvmeta.writeCovData: Write covariance association statistics files.

Description Usage Arguments Value See Also Examples

Description

Write covariance association statistics files.

Usage

1
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

1
2
3
4
5
6
7
8
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 March 26, 2020, 5:31 p.m.