Learn R Programming

rphast (version 1.0)

composition.feat: Composition of features with respect to annotations...

Description

Composition of features with respect to annotations

Usage

composition.feat(x, annotations)

Arguments

x
An object of type feat.
annotations
An object of type feat containing some annotations.

Value

  • 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. Assuming non-overlapping annotations which cover the entire range of interest, the second column should sum to 1.