read.VCF | R Documentation |
Reads a https://samtools.github.io/hts-specs/Variant Call Format (VCF) file into a BED object, retaining bi-allelic SNPs only
read.VCF(fname,BiAllelic=TRUE,...)
fname |
VCF file name. The VCF file can be compressed (VCF.gz) |
BiAllelic |
Logical. If TRUE, only bi-allelic SNPs are retained, otherwise, all variant are kept |
... |
other arguments to pass to the function |
A bed.matrix-class
object
read.vcf
filepath <-system.file("extdata", "LCT.vcf.gz", package="gaston") x1 <- read.VCF( filepath ) x1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.