AlexsLemonade / OpenPBTA-analysis

The analysis repository for the Open Pediatric Brain Tumor Atlas Project
Other
99 stars 67 forks source link

Tumor purity supp panels #1678

Closed sjspielman closed 1 year ago

sjspielman commented 1 year ago

Towards #1665

This PR takes additional steps to establish a tumor purity supp figure, which we're going to call S7.

After this PR, the final step towards completing #1665 is to compile panels. I'm thinking something like (and I'll find a place for the UMAP panel when I dive in?) Note Feb 20, 2023

sjspielman commented 1 year ago

@jaclyn-taroni I'm going to dismiss your review here and request a new one soon, since the code is wrong and we both missed it the first time!

In the new script I added here, the code currently reads in the "original" module result files: https://github.com/AlexsLemonade/OpenPBTA-analysis/blob/4c5a70e42de85d68d6e5897a2f0667ef5d1b2255/figures/scripts/figS7-tp53-telomerase-tumor-purity-threshold.R#L49-L53

And then filters down to relevant IDs from there: https://github.com/AlexsLemonade/OpenPBTA-analysis/blob/4c5a70e42de85d68d6e5897a2f0667ef5d1b2255/figures/scripts/figS7-tp53-telomerase-tumor-purity-threshold.R#L111-L112

That was wrong! I should be reading in the threshold result files in the first place, without needing to filter in this script. The files I should be reading in are as follows, and then inner_joining with hypermutators for point colors.