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 imputation_by_samples_posterior_expectation #1

Open
jhu99 opened this issue Feb 26, 2019 · 9 comments
Open

Error in imputation_by_samples_posterior_expectation #1

jhu99 opened this issue Feb 26, 2019 · 9 comments

Comments

@jhu99
Copy link

jhu99 commented Feb 26, 2019

Hello Mengjie,

I ran viper on a masked dataset (loaded in gene.expression, which is 28392 genes by 2850 cells).
The zero rates hist plot of both genes and cells are in attached. I adjusted the default cutoff value according to the hist plot.
I ran it on both gene.expression and its transpose. However, the first one ran smoothly and saved the output. The second one stopped unexpectedly. It prompts:
Error in imputation_by_samples_posterior_expectation(data, selected_logxx, :
Evaluation error: y is constant; gaussian glmnet fails at standardization step.

The code is written as below:

system.time(res <- VIPER(gene.expression, num = 5000, percentage.cutoff = 0.5, minbool = FALSE, alpha = 0.5, report = TRUE, outdir = outdir, prefix = prefix))
system.time(res <- VIPER(t(gene.expression), num = 5000, percentage.cutoff = 0.88, minbool = FALSE, alpha = 0.5, report = TRUE, outdir = outdir, prefix = prefixt))

zerorateingene.pdf
zerorateincell.pdf

Could you give me a guide to setup the parameter?

best,
jialu

@ChenMengjie
Copy link
Owner

ChenMengjie commented Feb 27, 2019 via email

@jhu99
Copy link
Author

jhu99 commented Feb 27, 2019 via email

@ChenMengjie
Copy link
Owner

ChenMengjie commented Mar 1, 2019 via email

@jhu99
Copy link
Author

jhu99 commented Mar 1, 2019 via email

@jhu99
Copy link
Author

jhu99 commented Mar 1, 2019 via email

@ChenMengjie
Copy link
Owner

ChenMengjie commented Mar 14, 2019 via email

@jhu99
Copy link
Author

jhu99 commented Mar 14, 2019 via email

@ChenMengjie
Copy link
Owner

ChenMengjie commented Mar 14, 2019 via email

@jhu99
Copy link
Author

jhu99 commented Mar 14, 2019 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