Description Usage Arguments Value Note Author(s)
Composition of features with respect to annotations
1 | composition.feat(x, annotations)
|
x |
An object of type |
annotations |
An object of type |
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).
If x or annotations are passed to this function as pointers to objects stored in C, they will be sorted after the function call.
Melissa J. Hubisz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.