Description Usage Arguments Details Value Author(s) Examples
Import a VCF function
1 |
file |
The file name |
na.seq |
The missing value definition |
This function imports a VCF file.
In case the logicl flag 'phased' is set to TRUE then the genotypes are expected to be in the format 0|0, otherwise they are expected to be like 0/1 .
The example file was downloaded from here:
ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/pilot_data/release/2010_07/exon/snps/
A vcf object
Daniel Fischer
1 2 3 4 | # Define here the location on HDD for the example file
fpath <- system.file("extdata","example.vcf", package="GenomicTools.fileHandler")
# Import the example vcf file
importVCF(fpath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.