Mean of mean node degree per images across images: 6.000000
Using split method: node.
Train-test-validation split is based on total number of nodes per patients over all images.
Excluded 0 cells with the following unannotated cell type: [None]
Whole dataset: 79849 cells out of 2 images from 1 patients.
Test dataset: 7985 cells out of 2 images from 1 patients.
Training dataset: 65008 cells out of 2 images from 1 patients.
Validation dataset: 7187 cells out of 2 images from 1 patients.
1/ for now I can plot the figures of type coupling analysis (e.g. Fig2 b, c, d, f in your paper).
How about the part of Training the ncem model for deconvoluted Visium, what's the output from this part ?
This part is Independent ?
2/ when I running the code below:
trainer.estimator.train(epochs=5)
I got the error messages:
How to built cluster_col_preprocessed metadata ? This part is also for 10x visium?
4/ In general, I have misunderstood your tutorial. Could you tell to me step by step how to analysis 10x visium dataset from anndata with metadata ( obsm: 'node_types', 'proportions', 'spatial' ) using NCEM, especially downstream analysis from Training the ncem model for deconvoluted Visium.
Hello ncem team,
Thanks to develop NCEM. I'm trying out NCEM tool for downstream analysis(the receiver/sender analysis) of 10X visium with cell2location.
following this tutorial: https://github.com/theislab/ncem_tutorials/blob/main/tutorials/type_coupling_visium.ipynb
e.g. adata
get_data_custom(interpreter=ncem_ip, deconvolution=True)
1/ for now I can plot the figures of type coupling analysis (e.g. Fig2 b, c, d, f in your paper). How about the part of Training the ncem model for deconvoluted Visium, what's the output from this part ? This part is Independent ?
2/ when I running the code below: trainer.estimator.train(epochs=5) I got the error messages:
I have checked Memory GPU is mostly full. 23178MiB / 24564MiB
Do you have any idea about GPU memory required for running NCEM with n_obs × n_vars = 79849 × 2000 ?
I have also followed the tutorial from https://github.com/theislab/spatial_scog_workshop_2022/blob/main/ncem/tutorial_ncem.ipynb
3/ For the part of Cell heterogeneity attributed to niche composition. the code below doesn't work to me.
How to built cluster_col_preprocessed metadata ? This part is also for 10x visium?
4/ In general, I have misunderstood your tutorial. Could you tell to me step by step how to analysis 10x visium dataset from anndata with metadata ( obsm: 'node_types', 'proportions', 'spatial' ) using NCEM, especially downstream analysis from Training the ncem model for deconvoluted Visium.
Best, Chuang