rvmeta.writeScoreData: Write score-based association statistics files.

rvmeta.writeScoreDataR Documentation

Write score-based association statistics files.

Description

Write score-based association statistics files.

Usage

rvmeta.writeScoreData(rvmetaData, outName, createIndex = FALSE)

Arguments

rvmetaData

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

outName

character, a text indicating output file prefix

createIndex

boolean, (default FALSE), whether or not to create the index

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.MetaScore.assoc")
rvmeta.writeScoreData(cfh, outFile)
cat('Outputted MetaScore file are in the temp directory:', outFile, '\n')

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