Learn R Programming

genotypeeval (version 1.2.2)

ReadGoldData: User Constructor for class

Description

User Constructor for class

Usage

ReadGoldData(genome, vcffilename, goldparams)

Arguments

genome
Genome build, GRCh37 or GRCh38
vcffilename
path and filename of vcf file
goldparams
GoldDataParam object setting thresholds for evaluation

Value

  • Object of class GoldData

Examples

Run this code
gparam <-  GoldDataParam(percent.confirmed=0.792, percent.het.rare = 0.93)
g1000fn <- system.file("ext-data", "example_gold_file.vcf", package="genotypeeval")
g1000 <- ReadGoldData("GRCh38", g1000fn, gparam)

Run the code above in your browser using DataLab