Learn R Programming

genotypeeval (version 1.2.2)

GoldDataFromGRanges: User Constructor for class. Used to associate the gold params object with the gold granges and to check if MAF is present.

Description

User Constructor for class. Used to associate the gold params object with the gold granges and to check if MAF is present.

Usage

GoldDataFromGRanges(genome, gold.granges, goldparams)

Arguments

genome
Genome build, GRCh37 or GRCh38
gold.granges
Gold file as GRanges
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)
gr <- GRanges(seqnames="22", IRanges(1e7,5e7))
gold <- GoldDataFromGRanges("GRCh38", gr, gparam)

Run the code above in your browser using DataLab