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

How to implement Input CODEX data for 'NCEM #93

Closed
Luosanj opened this issue Jun 7, 2022 · 9 comments
Closed

How to implement Input CODEX data for 'NCEM #93

Luosanj opened this issue Jun 7, 2022 · 9 comments
Labels
question Further information is requested

Comments

@Luosanj
Copy link

Luosanj commented Jun 7, 2022

I am appreciated by your excellent work. I plan to use 'NCEM' package with my CODEX image data. Yet, I failed to load my data referring the tutorial code. I find there are a lot of prefix like 'zhang','Hartmann' to build a dataloader. I don't know how to choose them. May I request for a help?

@Luosanj Luosanj added the question Further information is requested label Jun 7, 2022
@Luosanj
Copy link
Author

Luosanj commented Jun 7, 2022

image

@AnnaChristina
Copy link
Member

Hi @Luosanj ,

links to: theislab/ncem_tutorials#1 (comment)

answering here to keep it better traceable with respect to issues.

May I ask which ncem version you have installed. We only added the cutsom data loader recently, so you might need to update ncem to use it.

Additionally the Codex data we are using in the manuscrip is taken from this manuscript:

CODEX - cancer
Schürch, C. M. et al. Coordinated Cellular Neighborhoods Orchestrate Antitumoral Immunity at the Colorectal Cancer Invasive Front. Cell 183, 838 (2020).

Data can be downloaded from https://data.mendeley.com/datasets/mpjzbtfgfr/1 To run NCEM download the CRC_clusters_neighborhoods_markers.csv and store it to a data directory of your choice.

@Luosanj
Copy link
Author

Luosanj commented Jun 24, 2022

Hi @AnnaChristina ,
Thanks for your response ! I have uninstall and reinstall the package 'ncem', but the version didn't change which is 0.1.0. What is the right version supposed to be?
image

Cheers,

@Luosanj
Copy link
Author

Luosanj commented Jun 25, 2022

I find that in your tutorial the right version for ncem is 0.1.3. Yet I cannot find this version using command 'pip install'.
image

@AnnaChristina
Copy link
Member

Hi @Luosanj,

can you maybe try installing it in a new environment. PyPi also shows the correct version here: https://pypi.org/project/ncem/ and it's hard to assess issues in the installation otherwise.

@Luosanj
Copy link
Author

Luosanj commented Jul 23, 2022

Thanks for answering Anna ! By the way may I ask is there a tutorial on how to run the 'Encoder Decoder with one layer GCN embedding' model mentioned in your paper ? Currently it seems only linear model can be run. Thanks !

@Luosanj
Copy link
Author

Luosanj commented Jul 23, 2022

@AnnaChristina

@AnnaChristina
Copy link
Member

you can also use the non-linear ncem models by switching the model type to ed_ncem or cvae_ncem and the respective gnn layer specified. For simplicity, we currently do not provide a tutorial for all the different model set-ups but it follows the same logic and https://github.com/theislab/ncem_benchmarks/tree/main/scripts shows further examples how the different models can be run and hyperparameter suggestions for the different pre-selected datasets.

@AnnaChristina
Copy link
Member

closing the issue due to inactivity. Please feel free to open the issue again, in case of further questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants