Learn R Programming

seqminer (version 0.1)

rvmeta.readDataByGene: Read a gene from VCF file and return a genotypes matrix

Description

Read a gene from VCF file and return a genotypes matrix

Usage

rvmeta.readDataByGene(scoreTestFiles, covFiles, geneFile,
    gene)

Arguments

scoreTestFiles
score test output file (rvtests outputs)
covFiles
covaraite files (vcf2ld_gene outputs)
geneFile
speicify which gene file to extract (need to be refFlat format)
gene
speicify which gene to extract

Value

  • a list of genes, and each elements contain genotype covariance within gene and associated score test statsitics.