This function removes individuals from the data set. Individuals can be user-defined or can be accessed via interactive kinship analysis.
filter_individuals(
input.data,
ind.to.remove = NULL,
inter = TRUE,
type = c("Gmat", "PCA"),
verbose = TRUE
)
name of input object (class mappoly.data
)
individuals to be removed. If NULL
it opens
an interactive graphic to proceed with the individual
selection
if TRUE
, expects user-input to proceed with filtering
A character string specifying the procedure to be used for detecting outlier offspring. Options include "Gmat", which utilizes the genomic kinship matrix, and "PCA", which employs principal component analysis on the dosage matrix.
coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated.
if TRUE
(default), shows the filtered out individuals
Marcelo Mollinari, mmollin@ncsu.edu