powered by
Principal component analysis
MVP.Data.PC( filePC = TRUE, mvp_prefix = "mvp", K = NULL, out = NULL, pcs.keep = 5, maxLine = 10000, sep = "\t", cpu = 1, verbose = TRUE )
Output file: <out>.pc.bin <out>.pc.desc
Principal components, n*npc, n is sample size, npc is number of top columns of principal components
Prefix for mvp format files
Kinship matrix
prefix of output file name
how many PCs to keep
the number of markers handled at a time, smaller value would reduce the memory cost
seperator for PC file.
the number of cpu
whether to print detail.
# \donttest{ geno <- file.path(system.file("extdata", "06_mvp-impute", package = "rMVP"), "mvp.imp") MVP.Data.PC(TRUE, mvp_prefix=geno, out=tempfile("outfile"), cpu=1) # }
Run the code above in your browser using DataLab