Number of Features

Description

Get the number of rows in a features object

Usage

1
2
## S3 method for class 'feat'
nrow(x)

Arguments

x

An object of type feat

Value

An integer containing the number of rows in each features object

Author(s)

Melissa J. Hubisz and Adam Siepel

Examples

1
2
3
4
5
6
7
seq <- rep("hg18.chr6", 10)
src <- rep("fake_example", 10)
feature <- rep("CDS", 10)
start <- seq(1, 100, by=10)
end <- seq(10, 100, by=10)
f <- feat(seq, src, feature, start, end)
nrow.feat(f)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.