Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in analysing the all phenotype #81

Open
ramendra-sarma opened this issue Nov 3, 2022 · 0 comments
Open

Error in analysing the all phenotype #81

ramendra-sarma opened this issue Nov 3, 2022 · 0 comments

Comments

@ramendra-sarma
Copy link

I am geting GWAS result for one penotype, not for all with the given rodes. How to get analysis of all phenotypic data? Please suggest.

library(rMVP)
MVP.Data(fileVCF="reheader.vcf",
filePhe="mcv_pheno_N.csv",
fileKin=FALSE,
filePC=FALSE,
out="mvp.vcf"
)
map_info <- read.table("mvp.vcf.geno.map" , head = TRUE)
genotypic_dat <- attach.big.matrix("mvp.vcf.geno.desc")
phenotype_dat <- read.table("mvp.vcf.phe",head=TRUE)
print(dim(phenotype))
GWAS_PCA_mvp <- MVP(
phe = phenotype_dat,
geno = genotypic_dat,
map = map_info,
method = c("GLM", "MLM", "FarmCPU"),
nPC.GLM = 5,file.output=TRUE,
nPC.MLM = 5,
nPC.FarmCPU = 5,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant