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 filtering function #1663

Closed sjspielman closed 1 year ago

sjspielman commented 1 year ago

Closes #1662

This PR adds a function, as well as associated docs, to filter expression data (either a df or matrix) to only samples that pass our tumor purity threshold. It can be used by other modules that need to be re-run at the threshold.

sjspielman commented 1 year ago

@jaclyn-taroni I'll ask you to have one more peek here since I adventured a bit with specifying the file. Now it'll just be an argument provided to the function wholesale, no default.