Learn R Programming

pcadapt (version 4.4.0)

get.pc: Get the principal component the most associated with a genetic marker

Description

get.pc returns a data frame such that each row contains the index of the genetic marker and the principal component the most correlated with it.

Usage

get.pc(x, list)

Arguments

x

an object of class `pcadapt`.

list

a list of integers corresponding to the indices of the markers of interest.