basePCASample: TODO

View source: R/process1KG.R

basePCASampleR Documentation

TODO

Description

TODO

Usage

basePCASample(gds, listSample.Ref = NULL, listSNP = NULL, np = 1)

Arguments

gds

an object of class SNPRelate::SNPGDSFileClass, a SNP GDS file.

listSample.Ref

A vector of string corresponding to the sample.ids

listSNP

the list of snp.id keep

np

a single positive integer representing the number of threads. Default: 1.

Value

TODO a list with with two objects pca.unrel -> snpgdsPCAClass and a snp.load -> snpgdsPCASNPLoading

Author(s)

Pascal Belleau, Astrid DeschĂȘnes and Alexander Krasnitz

Examples


## Path to the demo pedigree file is located in this package
data.dir <- system.file("extdata", package="RAIDS")

## TODO


belleau/aicsPaper documentation built on Aug. 4, 2022, 1:12 a.m.