GoldDataFromGRanges {genotypeeval} | R Documentation |
User Constructor for class. Used to associate the gold params object with the gold granges and to check if MAF is present.
GoldDataFromGRanges(genome, gold.granges, goldparams)
genome |
Genome build, GRCh37 or GRCh38 |
gold.granges |
Gold file as GRanges |
goldparams |
GoldDataParam object setting thresholds for evaluation |
Object of class GoldData
gparam <- GoldDataParam(percent.confirmed=0.792, percent.het.rare = 0.93) gr <- GRanges(seqnames="22", IRanges(1e7,5e7)) gold <- GoldDataFromGRanges("GRCh38", gr, gparam)