Learn R Programming

pcadapt (version 3.0.4)

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.

Examples

Run this code
## see also ?pcadapt for examples

Run the code above in your browser using DataLab