categorize_genotype_results | R Documentation |
For a given results summary data frame that has CorrectAllele1Seq
and
CorrectAllele2Seq
columns (such as produced by match_known_genotypes)
added, create a factor labeling every row of the input data frame by its
genotyping outcome.
categorize_genotype_results(results_summary)
results_summary |
cross-sample summary data frame as produced by analyze_dataset with extra columns as produced by match_known_genotypes. |
Levels in the returned factor, in order:
Correct: one/two alleles match.
Incorrect at least one allele does not match.
Blank: No alleles were called in the analysis even though known genotypes were supplied.
Dropped Allele: One called allele is correct for a heterozygous individual, but no second allele was called.
Cases that should not occur, such as CorrectAllele1Seq
and
CorrectAllele2Seq
both set to NA, map to NA in the returned factor.
factor defining genotyping result category for every row of the input data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.