Learn R Programming

rphast (version 1.6.9)

as.pointer.feat: Features To Pointer

Description

Take a set of features stored in R and return one stored by reference

Usage

as.pointer.feat(x)

Arguments

x

an object of type feat stored as a data frame in R

Value

an object of type feat stored by reference as a pointer to an object created in C.

See Also

feat for more details on features storage options.

Examples

Run this code
# NOT RUN {
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)
f1 <- feat(seq, src, feature, start, end)
f2 <- as.pointer.feat(f1)
f1
f2
# }

Run the code above in your browser using DataLab