AlexsLemonade / OpenPBTA-analysis

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

Add tumor purity util function #1662

Closed sjspielman closed 1 year ago

sjspielman commented 1 year ago

From: https://github.com/AlexsLemonade/OpenPBTA-analysis/pull/1657#discussion_r1089040018

We should add a util function to the tumor purity module which can be used by other modules to filter the collapsed FPKM matrix (or data frame, if it was transformed) to only threshold-passing samples. This function should then be incorporated into relevant bits of EXTEND, GSEA, and immune deconvolution modules, with potential to go into more modules as needed later.