get_dosage_type {mappoly} | R Documentation |
Get Dosage Type in a Sequence
Description
Analyzes a genomic sequence object to categorize markers based on their dosage type. The function calculates the dosage type by comparing the dosage of two parental sequences (p1 and p2) against the ploidy level. It categorizes markers into simplex for parent 1 (simplex.p), simplex for parent 2 (simplex.q), double simplex (ds), and multiplex based on the calculated dosages.
Usage
get_dosage_type(input.seq)
Arguments
input.seq |
An object of class |
Value
A list with four components categorizing marker names into:
- simplex.p
Markers with a simplex dosage from parent 1.
- simplex.q
Markers with a simplex dosage from parent 2.
- double.simplex
Markers with a double simplex dosage.
- multiplex
Markers not fitting into the above categories, indicating a multiplex dosage.
[Package mappoly version 0.4.1 Index]