screen_for_duplicate_individuals.gp {polymapR} | R Documentation |
Screen for duplicate individuals using weighted genotype probabilities
Description
screen_for_duplicate_individuals.gp
identifies and merges duplicate individuals based on probabilistic genotypes.
See screen_for_duplicate_individuals
for the original function.
Usage
screen_for_duplicate_individuals.gp(
probgeno_df,
ploidy,
parent1 = "P1",
parent2 = "P2",
F1,
cutoff = 0.95,
plot_cor = TRUE,
log = NULL
)
Arguments
probgeno_df |
A data frame as read from the scores file produced by function
|
ploidy |
The ploidy of parent 1 |
parent1 |
character vector with the sample names of parent 1 |
parent2 |
character vector with the sample names of parent 2 |
F1 |
character vector with the sample names of the F1 individuals |
cutoff |
Correlation coefficient cut off to declare duplicates. At this correlation coefficient, individuals are merged. If |
plot_cor |
Logical. Should correlation coefficients be plotted? Can be memory/CPU intensive with high number of individuals. |
log |
Character string specifying the log filename to which standard output should be written. If |
Value
A data frame similar to input probgeno_df
, but with duplicate individuals merged.