get_pca_outliers: Identify Outliers in PCA per group

Description Usage Arguments Value Author(s)

View source: R/get_pca_outliers.R

Description

Identify Outliers in PCA per group

Usage

1
2
3
4
5
6
7
get_pca_outliers(
  plt,
  cols = c("IID", "Population"),
  PCx = 2,
  PCy = 1,
  extreme = FALSE
)

Arguments

plt

Output from plink_pca() function.

cols

Character vector. Names from desired columns in plt$data object. Default set to c("IID", "Population") so that no error occurs.

PCx

Integer scalar. PC from x axis.

PCy

Integer scalar. PC from x axis.

Value

List of data.table(s) with outlier individuals per population.

Author(s)

CainĂ£ Max Couto-Silva


cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.