View source: R/exported_functions.R
screen_for_duplicate_individuals.gp | R Documentation |
screen_for_duplicate_individuals.gp
identifies and merges duplicate individuals based on probabilistic genotypes.
See screen_for_duplicate_individuals
for the original function.
screen_for_duplicate_individuals.gp(
probgeno_df,
ploidy,
parent1 = "P1",
parent2 = "P2",
F1,
cutoff = 0.95,
plot_cor = TRUE,
log = NULL
)
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 |
A data frame similar to input probgeno_df
, but with duplicate individuals merged.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.