filter_individuals: Filter out individuals

View source: R/filters.R

filter_individualsR Documentation

Filter out individuals

Description

This function removes individuals from the data set. Individuals can be user-defined or can be accessed via interactive kinship analysis.

Usage

filter_individuals(
  input.data,
  ind.to.remove = NULL,
  inter = TRUE,
  type = c("Gmat", "PCA"),
  verbose = TRUE
)

Arguments

input.data

name of input object (class mappoly.data)

ind.to.remove

individuals to be removed. If NULL it opens an interactive graphic to proceed with the individual selection

inter

if TRUE, expects user-input to proceed with filtering

type

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.

verbose

if TRUE (default), shows the filtered out individuals

Author(s)

Marcelo Mollinari, mmollin@ncsu.edu


mmollina/MAPpoly documentation built on March 9, 2024, 2:52 a.m.