This analysis correlates multiPLIER latent variables with cibersort/immune scores. The code is largely the same as notebook 03.
There are several LVs that seem to correlate pretty well with immune cell types. Unsurprisingly, most of these are immune latent variables! This makes for a nice internal control. There are several LVs that are not explicitly listed as immune pathways/cell types, but they still very well could be...
One change from notebook 03 was to look for absolute correlation when plotting, so we also get negatively correlated things (< -0.6 correlation).
I also switched to using Spearman correlation since the data do not appear to be normally distributed.
Finally, i think we'd get better correlations if we did this evaluation by tumor type, rather than calculating correlation across all samples, as the different tumor types seem to have different lv-immune cell correlations from one another (looking at the plots,anyway).
This analysis correlates multiPLIER latent variables with cibersort/immune scores. The code is largely the same as notebook 03.
There are several LVs that seem to correlate pretty well with immune cell types. Unsurprisingly, most of these are immune latent variables! This makes for a nice internal control. There are several LVs that are not explicitly listed as immune pathways/cell types, but they still very well could be...
One change from notebook 03 was to look for absolute correlation when plotting, so we also get negatively correlated things (< -0.6 correlation).
I also switched to using Spearman correlation since the data do not appear to be normally distributed.
Finally, i think we'd get better correlations if we did this evaluation by tumor type, rather than calculating correlation across all samples, as the different tumor types seem to have different lv-immune cell correlations from one another (looking at the plots,anyway).