Learn R Programming

pcadapt (version 1.0)

read4pcadapt: Multi-purpose read function

Description

read4pcadatp allows the user to display individuals of the same pre-defined subpopulation with the same color when using the option "scores" in pcadapt. Creates a global variable storing the lists of indices for each subpopulation.

Usage

read4pcadapt(x = NULL, option = "genotype")

Arguments

x
can be a file path or a file name, depending on the chosen option.
option
a character string specifying the type of data going to be read.

Examples

Run this code
## see also ?pcadapt for examples

Run the code above in your browser using DataLab