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.
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.