write.feat: Writing a features Object

Description Usage Arguments Author(s) Examples

View source: R/feat.R

Description

Write a features object to a file in GFF format.

Usage

1

Arguments

x

an object of type feat

file

The name of the file to write to (will be overwritten)

Author(s)

Melissa J. Hubisz and Adam Siepel

Examples

1
2
3
4
5
6
7
8
9
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)
write.feat(f, "test.gff")

unlink("test.gff") # clean up

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