GoldDataFromGRanges: User Constructor for class. Used to associate the gold...

Description Usage Arguments Value Examples

View source: R/GoldData.R

Description

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

Usage

1
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

1
2
3
gparam <-  GoldDataParam(percent.confirmed=0.792, percent.het.rare = 0.93)
gr <- GRanges(seqnames="22", IRanges(1e7,5e7))
gold <- GoldDataFromGRanges("GRCh38", gr, gparam)

genotypeeval documentation built on Nov. 8, 2020, 5:03 p.m.