ncol.feat: Number of Columns in Features

Description Usage Arguments Value Note Author(s) Examples

View source: R/feat.R

Description

Get the number of columns in a features object

Usage

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

Arguments

x

An object of type feat

Value

An integer containing the number of columns in the features object

Note

If the features object is stored as a pointer in C, the number of columns is always 9.

Author(s)

Melissa J. Hubisz

Examples

1
2
3
4
5
6
7
8
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)
ncol.feat(f)
ncol.feat(as.pointer.feat(f))

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