Closed boyiguo1 closed 1 year ago
@lcolladotor This seems to be related to #126. Let me know if you think they are exactly the same or different so that we can merge the tasks or work on them together.
My intuition is the proposal above is a stat test, whereas #126 emphasizes more on the visualization/descriptive side more. So I want to see what you think about this.
@boyiguo1 If we decide to do this analysis, you can use the collapsed_layer data that nick created.
cell_group <- "layer"
collapsed_results_path_IF <- here(
"processed-data", "spot_deconvo", "05-shared_utilities", "IF",
paste0("results_collapsed_", cell_group, ".csv")
)
collapsed_results_path_nonIF <- here(
"processed-data", "spot_deconvo", "05-shared_utilities", "nonIF",
paste0("results_collapsed_", cell_group, ".csv")
)
Hi @boyiguo1,
Overall, we think that it's challenging to draw strong conclusions across position (mid/ant/post) in terms of % of the layers represented, and thus also cell types. That's because the 6.5 x 6.5 mm Visium square is too small to capture the full mid/ant/post DLPFC. So we can't tell whether the differences in layer %s (and thus cell types) are due to biological changes across position or if it's a dissection variability issue.
Within a particular spatial domain, if there are cell type composition changes, that might be interesting. But it's likely a bit hard to say more than that.
Does this make sense?
best, Leo
@lcolladotor This is very helpful. Thank you so much!
Null hypothesis: the cell type composition doesn't change among anterior, mid, posterior, adjusting for tissue layers
Implementation: