rvmeta.writeScoreData | R Documentation |
Write score-based association statistics files.
rvmeta.writeScoreData(rvmetaData, outName, createIndex = FALSE)
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 |
TRUE only if succeed
http://zhanxw.com/seqminer/ for online manual and 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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.