Learn R Programming

mixIndependR (version 1.0.0)

read_vcf_gt: Import genotype data from vcf files/

Description

Import genotype data from vcf files/

Usage

read_vcf_gt(x)

Arguments

x

The vcf file with its directory

Value

a list contains the genotype and allele status.

Details

This function extract the genotypes and allele status from a vcf file.

Examples

Run this code
# NOT RUN {
df<-read_vcf_gt("~/x.vcf")
# }

Run the code above in your browser using DataLab