powered by
Principal component analysis
MVP.Data.PC(filePC = TRUE, mvp_prefix = "mvp", out = NULL, perc = 1, pcs.keep = 5, sep = "\t")
Principal components, n*npc, n is sample size, npc is number of top columns of principal components
Prefix for mvp format files
prefix of output file name
Percentage of markers used to calculate PCA
how many PCs to keep
seperator for PC file.
Output file: <out>.pc.bin <out>.pc.desc
# NOT RUN { geno <- file.path(system.file("extdata", "06_mvp-impute", package = "rMVP"), "mvp.imp") MVP.Data.PC(TRUE, mvp_prefix=geno, out="rMVP.test.pc") # }
Run the code above in your browser using DataLab