View source: R/prep.score.files.R
prep.score.files | R Documentation |
Calculates Z scores from P values and beta input
prep.score.files(data, reference = "ref1KG.MAC5.EUR_AF.RData", output.file.prefix)
data |
a file name or data.frame with two mandatory columns (case-insensitive header): |
reference |
path to a reference file or data.frame with additional data needed to recode user |
output.file.prefix |
if not set, the input file name will be used as output prefix. |
does not return any value, writes output files with Z scores to be used in any type of
gene-based analysis in sumFREGAT (see gene-based test functions
).
## Not run: data <- system.file("testfiles/CFH.dat", package = "sumFREGAT") prep.score.files(data, output.file.prefix = "CFH") # requires reference file "ref1KG.MAC5.EUR_AF.RData" (can be downloaded # at http://mga.bionet.nsc.ru/sumFREGAT/) data <- system.file("testfiles/CFH.full.input.dat", package = "sumFREGAT") prep.score.files(data, reference = "ref1KG.MAC5.EUR_AF.RData", output.file.prefix = "CFH.full") data <- system.file("testfiles/CFH.prob.dat", package = "sumFREGAT") prep.score.files(data, reference = "ref1KG.MAC5.EUR_AF.RData", output.file.prefix = "CFH.prob") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.