from.pointer.ms: MS From Pointer

Description Usage Arguments Value Author(s) See Also

View source: R/tfbs.R

Description

RTFBS can store MS objects in R's memory, or C's memory for efficency reasons. This function transforms an MS object whose data is stored in memory on the C side to an MS object whose data is stored on the R side. The result is a new MS object containing data stored in memory on the R side copied from memory on the C side Copying an MS object from C into R enables modification of the MS object using generic R functions. To do the reverse, (copying an MS object from R to C), use the as.pointer.ms function.

Usage

1

Arguments

src

An MS object stored by reference (pointer.only=TRUE)

Value

an MS object stored in R. If src is already stored in R, returns the original object.

Author(s)

Nick Peterson

See Also

ms for details on MS storage options.


rtfbs documentation built on May 29, 2017, 4:10 p.m.

Search within the rtfbs package
Search all R packages, documentation and source code