View source: R/exported_functions.R
screen_for_duplicate_individuals | R Documentation |
screen_for_duplicate_individuals
identifies and merges duplicate individuals.
screen_for_duplicate_individuals(
dosage_matrix,
cutoff = NULL,
plot_cor = TRUE,
log = NULL
)
dosage_matrix |
An integer matrix with markers in rows and individuals in columns. |
cutoff |
Correlation coefficient cut off. At this correlation coefficient, individuals are merged. If NULL user input will be asked after plotting. |
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 NULL log is send to stdout. |
A matrix similar to dosage_matrix, with merged duplicate individuals.
## Not run:
#user input:
data("segregating_data")
screen_for_duplicate_individuals(dosage_matrix=segregating_data,cutoff=0.9,plot_cor=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.