-
Notifications
You must be signed in to change notification settings - Fork 1
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
Generating FISHnCHIPs input files: gene-gene correlation matrices from Seurat object #1
Comments
Hello Eva, Glad to hear that you find it useful for design effective FISH panels. To generate the gene-gene correlation matrices, you can use the function If you are working with a Seurat object in R, you can use the following function:
Here's an example, assuming you have a Seurat object named
We hope this helps you generate the necessary input files and gets you back to the bench sooner. |
Thank you very much for pointing out the existing function, and for providing an R version. It worked :) At risk of sounding greedy :), do you have code for how I can generate gcm_cellScaled_gene_centric1.zip (normalized by total counts per cell, multiplied by scale factor), gcm_cellScaled_gene_centric2.zip (log-transformed), and gcm_cellScaled_gene_centric3.zip (z-score normalization), also from a Seurat object? My attempts, especially for gcm_cellScaled_gene_centric3.zip, is not scaling well for the size of data that I'm working with (24552 genes x 256124 cells). Once I have these .CSV files, I'll be able to do the gene-centric panel design with my own data all the way through. Thank you once again! |
Hi Eva, The following R code can be used for normalizing large matrix.
For generating the z-scaled matrix, you can simply use the
The z-scaled data will be available in the Hope that helps! |
Hello, thank you for developing FISHnCHIPs! It's exactly the type of tool I was hoping for that will help me design effective FISH panels. I really am super excited about this.
So far, I was able to successfully reproduce the environment and run the tutorial code in the Gene Panel Design Demo notebook and I'm ready to try on my own data. I'm hopeful that you might be able to provide code for generating the input files (such as the gene-gene correlation matrices) starting from a Seurat object?
It's something that I should be able to figure out eventually, but since I'm primarily an experimentalist, it will take me some time. Perhaps including this extra code will help out other end users get back to the bench sooner :).
Apologies in advance if I had missed the code nested elsewhere. Meanwhile I will take a stab at it. Thank you!
The text was updated successfully, but these errors were encountered: