Learn R Programming

seqminer (version 0.1)

readVCFToMatrixByRange: Read a gene from VCF file and return a genotypes matrix

Description

Read a gene from VCF file and return a genotypes matrix

Usage

readVCFToMatrixByRange(fileName, range, annoType)

Arguments

fileName
input VCF file (Bgzipped, with Tabix index)
range
a text indicating which range in the VCF file to extract. e.g. 1:100-200
annoType
which annotation you would like to extract

Value

  • genotype matrix