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

question about PEER_update #16

Open
hust-yyan opened this issue Feb 18, 2022 · 4 comments
Open

question about PEER_update #16

hust-yyan opened this issue Feb 18, 2022 · 4 comments

Comments

@hust-yyan
Copy link

Hello, I encountered the following bug when running R-peer again
image
this is my code:
library(peer)
load("/data1/shiyan_data/plasma.miRNA.eqtl.RData")
model = PEER()
PEER_setPhenoMean(model,as.matrix(t(counts)))
covs<-sampleinfo[,c("Sex","Age","BMI","Smoking","hypertension","hyperlipidemia","Diabetes")]
covs<-apply(covs,2,as.numeric)
rownames(covs)<-sampleinfo$ID
PEER_setCovariates(model, as.matrix(covs))
PEER_setAdd_mean(model, TRUE)
PEER_update(model)

@lp2
Copy link
Collaborator

lp2 commented Feb 18, 2022 via email

@hust-yyan
Copy link
Author

Hello, I saw this link (https://github.com/bioFAM/PEER), I have a question, in the case of using MOFA2 to perform PEER analysis is not considering the influence of other known covariates?

@lp2
Copy link
Collaborator

lp2 commented Feb 18, 2022 via email

@lp2
Copy link
Collaborator

lp2 commented Feb 18, 2022 via email

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

2 participants