karyoploteR
karyoploteR copied to clipboard
Using `AnnotationFilter` to subset the plot
Excellent work! I was just wondering whether you could think of supporting the Bioconductor AnnotationFilter
for the subsetting of a plot, e.g. with a call such as: plotKaryoType(filter = ~ seq_name == "chr1")
to restrict to data on chromosome 1 or plotKaryoType(filter = ~ genename == "BCL2")
.
This might be eventually interesting for other Bioconductor users since annotation resources start implementing the AnnotationFilter
concept (e.g. ensembldb
and soon also GenomicFeatures
).
That might be a useful addition to karyoploteR. I'd need to check the exact filtering process and how it would interact with the other parameters, specially with graphic parameters annotating every single data point, since these could get unsynchonized with filtering.
El 6 dic. 2017 14:50, "Johannes Rainer" [email protected] escribió:
Excellent work! I was just wondering whether you could think of supporting the Bioconductor AnnotationFilter for the subsetting of a plot, e.g. with a call such as: plotKaryoType(filter = ~ seq_name == "chr1") to restrict to data on chromosome 1 or plotKaryoType(filter = ~ genename == "BCL2"). This might be eventually interesting for other Bioconductor users since annotation resources start implementing the AnnotationFilter concept (e.g. ensembldb and soon also GenomicFeatures).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bernatgel/karyoploteR/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4HwcpT2JL7az1pub5ar3GfhFYTNwkOks5s9qmugaJpZM4Q4B0r .