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 res_imp$imputed[gene.expression == 0] #4

Open
ansonrel opened this issue Sep 25, 2019 · 4 comments
Open

Error in res_imp$imputed[gene.expression == 0] #4

ansonrel opened this issue Sep 25, 2019 · 4 comments

Comments

@ansonrel
Copy link

Hi,

I am trying VIPER on different datasets but it fails for one of them with the following error message:

Error in res_imp$imputed[gene.expression == 0] :
  invalid subscript type 'S4'

.. with the default parameters. I tried with an alpha of 0.5 and 1 to see if it is dependent on the method used but it leads to the same error. I also tried to feed in raw counts as well as CPM.

The dataset is of size 16k features x 900 cells, not that big, so I guess it shouldn't be an issue either. The datasets that worked have a similar size.

And as for #3, the function runs really slowly on my datasets (SMARTer and 10x protocol).

Do you have an idea to resolve this ?

Thanks,
Anthony

@ChenMengjie
Copy link
Owner

ChenMengjie commented Sep 25, 2019 via email

@ansonrel
Copy link
Author

Thanks for your quick answer Mengjie.
Apparently the dataset contains no empty row/column, and there are approximately 46% of zeros in the matrix.

@ChenMengjie
Copy link
Owner

ChenMengjie commented Sep 26, 2019 via email

@ansonrel
Copy link
Author

Indeed, it ran for several (>2) hours before I got the message.

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