run_vcftools | R Documentation |
Runs the vcftool, currently only set for creating PLINK Map and Ped files
run_vcftools(
input = NULL,
output = NULL,
plink = FALSE,
execute = TRUE,
vcftools = NULL,
version = NULL
)
input |
Path to the input vcf file |
output |
Path to the output files |
plink |
Create plink files, boolean, default st to FALSE |
execute |
Whether to execute the commands or not, default set to TRUE |
vcftools |
Path to the vcftools program, required |
version |
Returns the version number |
Alist of vcftools commnads
## Not run:
vcftools.path <- "/software/vcftools-v0.1.16/bin/vcftools"
run_vcftools(vcftools = vcftools.path,
version = TRUE)
input.file <- "variants.vcf"
output.file <- gsub("vcf","plink",input.file)
run_vcftools(input = input.file,
output = output.file,
plink = TRUE,
execute = FALSE,
vcftools = vcftools.path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.