Rdocumentation
powered by
Learn R Programming
seqminer (version 0.1)
readVCFToMatrixByGene: Read a gene from VCF file and return a genotypes matrix
Description
Read a gene from VCF file and return a genotypes matrix
Usage
readVCFToMatrixByGene(fileName, geneFile, geneName, annoType)
Arguments
fileName
an input VCF file (Bgzipped, with Tabix index)
geneFile
a text file listing all genes in refFlat format
geneName
which gene(s) to be extracted
annoType
which annotation you would like to extract
Value
genotype matrix