griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
206 stars 62 forks source link

genCov does not work with masked BSgenome object #358

Open zlskidmore opened 5 years ago

zlskidmore commented 5 years ago

genCov currently checks if something is a class of BSgenome by checking the first class of the element, this doesn't work for masked genomes since the class of a masked genome is not BSgenome but BSgenome masked, this check needs too be more robust