viewStrat1KG.Rd
visualize PCA colored by populations for a selected SuperPopulation
viewStrat1KG(
pcs,
selectedPCs = 1:4,
superpop = "AFR",
superOnly = FALSE,
dropNAs = TRUE
)
matrix of principal components, assumed to have colnames PC[1,...] typically PC1-PC10
numeric(), values typically drawn from 1:10
character(1)
logical(1) defaults to FALSE; if TRUE, do not limit to one superpopulation
logical(1) defaults to TRUE
Population and SuperPopulation definitions are at `https://www.internationalgenome.org/data-portal/population`, mapping from sample to population/superpopulation is available via `BiocHail::path_1kg_annotations`.