xiaolei-lab / rMVP

:postbox: A Memory-efficient, Visualization-enhanced, and Parallel-accelerated Tool For Genome-Wide Association Study
Apache License 2.0
268 stars 69 forks source link

No PC or Kinship generated #97

Open ramendra-sarma opened 5 months ago

ramendra-sarma commented 5 months ago

library(rMVP) MVP.Data(fileVCF="genotype.vcf", filePhe="phenotype.csv", fileKin=FALSE, filePC=FALSE, out="mvp.vcf" )

calculate from mvp_geno_file

MVP.Data.Kin(TRUE, mvp_prefix='mvp', out='mvp')

calculate from mvp_geno_file

MVP.Data.PC(TRUE, mvp_prefix='mvp', perc=1, pcs.keep=5)

But there are erros such as: MVP.Data.Kin(TRUE, mvp_prefix='mvp', out='mvp') Error in attach.resource(obj, ...) : The file mvp.geno.desc could not be found

calculate from mvp_geno_file

MVP.Data.PC(TRUE, mvp_prefix='mvp', perc=1, pcs.keep=5) Error in MVP.Data.PC(TRUE, mvp_prefix = "mvp", perc = 1, pcs.keep = 5) : unused argument (perc = 1)

Why so? Please suggest