Gives a frequency table of different markertypes, relative frequency per markertype of incompatible offspring and the names of incompatible progeny.
marker_data_summary(
dosage_matrix,
ploidy,
pairing = c("random", "preferential"),
parent1 = "P1",
parent2 = "P2",
progeny_incompat_cutoff = 0.1,
verbose = TRUE,
shortform = FALSE,
log = NULL
)
An integer matrix with markers in rows and individuals in columns.
Integer. Ploidy of plant species.
Type of pairing. "random" or "preferential".
Name of first parent. Usually maternal parent.
Name of second parent. Usually paternal parent.
The relative number of incompatible dosages per genotype that results in reporting this genotype as incompatible. Incompatible dosages are greater than maximum number of alleles than can be inherited or smaller than the minimum number of alleles that can be inherited.
Logical, by default TRUE
- should intermediate messages be written to stout?
Logical, by default FALSE
. Returns only a shortened output with parental dosage summary, used internally by some functions.
Character string specifying the log filename to which standard output should be written. If NULL
log is send to stdout.
Returns a list containing the following components:
frequency table of different markertypes. Names start with parentnames, and behind that the dosage score.
Rate of incompatible ("impossible") marker scores (given as percentages of the total number of observed marker scores per marker class)
progeny names having incompatible dosage scores higher than threshold at progeny_incompat_cutoff.
# NOT RUN {
data("ALL_dosages")
summary_list<-marker_data_summary(dosage_matrix = ALL_dosages, ploidy = 4)
# }
Run the code above in your browser using DataLab