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 setting up the expression matrix #109

Closed
ningzhy5 opened this issue Apr 10, 2023 · 2 comments
Closed

Question about setting up the expression matrix #109

ningzhy5 opened this issue Apr 10, 2023 · 2 comments

Comments

@ningzhy5
Copy link

Hello! I'm confused when I select one or more groups before constructing the network. For example, when I choose 'INH' as the given group of cells that will be used for downstream network analysis, there will be results for other cell types as well. I don't know how to explain the results of other cell types. Looking forward to your reply and thanks for designing this well-done software!

@smorabit
Copy link
Owner

Good question. When you run SetDatExpr to set up the expression matrix, that is the matrix that will be used to construct the co-expression network. However, after we construct the network we do other things like quantify the gene expression signature of the co-expression modules (aka module eigengenes).

In the tutorial, the network is constructed only using the inhibitory neurons but the module eigengene calculation is done with the whole dataset. If you are only interested in one of your cell types, I would recommend subsetting your dataset before running any of the hdWGCNA code. For example, this is essentially what was done in Figure 5 of the hdWGCNA paper.

@ningzhy5
Copy link
Author

I get it! Thanks for your advise!

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