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

Using decoupler to implement Cytosig analysis #77

Closed
SNOL2 opened this issue Sep 17, 2023 · 2 comments
Closed

Using decoupler to implement Cytosig analysis #77

SNOL2 opened this issue Sep 17, 2023 · 2 comments
Labels
question User question: anything that's not obviously a bug

Comments

@SNOL2
Copy link

SNOL2 commented Sep 17, 2023

Hi, thanks for this wonderful tool!
I was wondering if there is a tutorial for using decoupler to implement Cytosig analysis.
Thanks again!

@SNOL2 SNOL2 added the question User question: anything that's not obviously a bug label Sep 17, 2023
@deeenes
Copy link
Member

deeenes commented Sep 17, 2023

Hi,

You can follow the exact same procedure as for pathway activity inference. Instead of PROGENy, simply use CytoSig:

import decoupler as dc

cytosig = dc.get_resource('CytoSig')

dc.run_mlm(
    mat = adata,  # <- your single cell data
    net = cytosig,
    verbose = True,
)

adata.obsm['mlm_estimate']  # <- the results

@SNOL2
Copy link
Author

SNOL2 commented Sep 17, 2023

Hi,

You can follow the exact same procedure as for pathway activity inference. Instead of PROGENy, simply use CytoSig:

import decoupler as dc

cytosig = dc.get_resource('CytoSig')

dc.run_mlm(
    mat = adata,  # <- your single cell data
    net = cytosig,
    verbose = True,
)

adata.obsm['mlm_estimate']  # <- the results

Got it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question User question: anything that's not obviously a bug
Projects
None yet
Development

No branches or pull requests

2 participants