split.SpliceSites: split an instance of SpliceSites

Description Usage Arguments Details Value See Also Examples

View source: R/split.SpliceSites.R

Description

Split an instance of SpliceSites into several instances of SpliceSites

Usage

1
2
## S3 method for class 'SpliceSites'
split(x, f = list(typeI = NA, typeII = NA), drop=NULL, ...)

Arguments

x

an instance of class SpliceSites-class.

f

a list of two factors (see details).

drop

not used (here to keep R CMD check happy)

...

see drop above.

Details

The split usually is performed on a factor. Two factors are required because of the two categories of splicing events (type I (deletion of a fragment of the reference sequence) and type II (insertion of an element of the reference sequence). A character can be used instead of a factor. In this case the covariates with the given name, in the slots spsiteIpos.pData and spsiteIIpos.pData respectively, are used to make the split. When equal to NA, the covariate named site will be used.

Value

A list of objects of class SpliceSites

See Also

SpliceSites-class

Examples

1
2

splicegear documentation built on Oct. 31, 2019, 7:40 a.m.