flatten.feat: Combine adjacent features with the same "feature" field

Description Usage Arguments Value Note Author(s)

View source: R/feat.R

Description

Combine adjacent features with the same "feature" field

Usage

1
flatten.feat(x, weightedAverageScore = FALSE, minScore = FALSE)

Arguments

x

An object of type feat

weightedAverageScore

If TRUE, scores of merged features are given by the average of those features, weighted by their original lengths. Otherwise, scores of merged features are simply summed.

minScore

If TRUE, scores of merged features are given by the minimum score of the combined features.

Value

A features object in which adjacent features are combined into one longer feature.

Note

If x is stored as a pointer to a C structure, then x will be modified to the return value.

Author(s)

Melissa J. Hubisz and Adam Siepel


rphast documentation built on May 1, 2019, 9:26 p.m.