parental_quantities {polymapR} | R Documentation |
Calculate frequency of each markertype.
Description
Plots and returns frequency information for each markertype.
Usage
parental_quantities(
dosage_matrix,
parent1 = "P1",
parent2 = "P2",
log = NULL,
...
)
Arguments
dosage_matrix |
An integer matrix with markers in rows and individuals in columns. |
parent1 |
Character string specifying the first (usually maternal) parentname. |
parent2 |
Character string specifying the second (usually paternal) parentname. |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
... |
Arguments passed to |
Value
A named vector containing the frequency of each markertype in the dataset.
Examples
data("ALL_dosages","screened_data")
parental_quantities(dosage_matrix=ALL_dosages)
parental_quantities(dosage_matrix=screened_data)
[Package polymapR version 1.1.6 Index]