ebi-gene-expression-group / scanpy-scripts

Scripts for using scanpy
Apache License 2.0
30 stars 13 forks source link

Highly variable genes calculations should allow to blacklist or white list specific subset of genes #129

Open pcm32 opened 7 months ago

pcm32 commented 7 months ago

For certain applications, like hematological cancers, you might want to make sure that certain sets of genes either do not get marked as highly variable genes or they do (as you might want to make sure that they don't/do influence downstream processes of clustering). There should be an option then on the HVG method that receives a file with a list of genes to either make sure they are marked as HGVs or they are not (could be passed as two separate set of genes in case you want to do both). Then, after HGVs are marked, then those genes are either set as True or False on the obs column for HGVs.