Hi,
I am working on a function with VCF/variants and BAM as input. The reduceByFile/reduceByRange
are imported in my function,
which require GRanges/GRangesList as ranges input.
However, my input requires a extented GRanges class with variants(DNAStringSet) in elementMetadata
, like, CollapsedVCF
.
Is it possible to extented the ranges
arguments? for example, classes inherited from GRanges?
Thanks!
Thank you for your reply. Because my input require extra data for each range. I guess I could extend a
GRanges
class with extraelementMetadata
as input for my function, but convert it back toGRanges
when usingreduceBy
functions.