rvmeta.writeScoreData {seqminer} | R 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')
[Package seqminer version 9.4 Index]