Composition of features with respect to annotations
composition.feat(x, annotations)
An object of type feat
.
An object of type feat
containing
some annotations.
A data frame with two columns and a row for each type of element in the annotations. The second column gives the fraction of x which fall in the corresponding annotation type. Given non-overlapping annotations which cover the entire range of interest, the second column should sum to 1 (otherwise not).