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

Celltrek output to spot and cell mapping #30

Open
smk5g5 opened this issue Jul 5, 2023 · 0 comments
Open

Celltrek output to spot and cell mapping #30

smk5g5 opened this issue Jul 5, 2023 · 0 comments

Comments

@smk5g5
Copy link

smk5g5 commented Jul 5, 2023

Hi,

I recently started using Celltrek. I am trying to understand how to interpret the x and y coordinate output in celltrek data.

My celltrek results are interpolated (for the visium data) to show cells between the spots. I am trying to understand or accurately decipher the tumor proportions for each site. I was looking at the image output of the Seurat object and the celltrek output. Do the two things mean the same?

> head(samp_celltrek$coord_x)
Other_10X249_2.CTGTAGACAGGCATTT.5 Other_10X175_2.TCTCAGCAGTGACACG.5
                         7084.793                          7076.214
Other_10X264_3.TAACGACAGGCGTCCT.5 Other_10X249_2.CCTCACAGTGGCCTCA.5
                         7062.018                          7095.788
Other_10X249_4.GTTGCGGAGGATTTCC.5 Other_10X265_5.TTTGGTTAGCCGGATA.5
                         7066.821                          7091.498
> head(samp_celltrek$coord_y)
Other_10X249_2.CTGTAGACAGGCATTT.5 Other_10X175_2.TCTCAGCAGTGACACG.5
                         7656.116                          7638.562
Other_10X264_3.TAACGACAGGCGTCCT.5 Other_10X249_2.CCTCACAGTGGCCTCA.5
                         7643.233                          7639.805
Other_10X249_4.GTTGCGGAGGATTTCC.5 Other_10X265_5.TTTGGTTAGCCGGATA.5
                         7634.537                          7648.865

sum(table(samp_celltrek$clean_cell_type[grep(7077,samp_celltrek$coord_x)]))
sum(table(samp_celltrek$clean_cell_type[grep(7642,samp_celltrek$coord_y)]))

I see there is a difference here which is possible because of the interpolation celltrek does for 10x visium for cells which may lie between two spots.

But is this the correct understanding of the output or is there a more accurate way to get the cells/celltypes for a particular spot? Kindly let me know.

Thank you!

@smk5g5 smk5g5 changed the title Celltrek output to spatial locations Celltrek output to spot and cell mapping Jul 5, 2023
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

1 participant