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 calculate_rrs #3

Open
ShaowenJ opened this issue Jan 27, 2020 · 2 comments
Open

Error in calculate_rrs #3

ShaowenJ opened this issue Jan 27, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ShaowenJ
Copy link

Hi scFunctions Developer,

Nice package for doing this.
But in the tutorial, I think you missed the code for calculating the RSS.
Nevertheless, I got an error while I tried to do that:
rrs_df <- calculate_rrs(cellInfo,binary_regulons, cell_type_column = "seuratCluster")

Error in binary_regulons[regulon, ] : incorrect number of dimensions

cellInfo is the metadata table from seurat

Thanks!

@GildasLepennetier
Copy link
Contributor

Do you actually have rownames in your binary_regulons?

@FloWuenne
Copy link
Owner

Hi @Lesdormis,

sorry for the very let reply! You are totally right and I did forget to put the code for calculating the rrs. I will add this very soon and add a very short tutorial on how to process results from the new SCENIC nextflow pipeline, as this makes it much easier to produce SCENIC results from single-cell data than the R implementation:

In the meantime, you can check out:
SCENICprotocol

and this notebook where they also calculate rrs:
https://github.com/aertslab/SCENICprotocol/blob/master/notebooks/PBMC10k_downstream-analysis.ipynb

@FloWuenne FloWuenne added the bug Something isn't working label Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants