View source: R/readVcfFields.R
| readVcfFields | R Documentation | 
Read vcf into R as data frame
readVcfFields(vcf.file, fields = NULL)
| vcf.file | Path to the vcf file | 
| fields | A character or integer vector indicating which columns to keep. | 
A dataframe
readVcfFields('/path/to/vcf', fields=c('CHROM','POS','REF','ALT'))
readVcfFields('/path/to/vcf', fields=c(1,2,4,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.