| split.SpliceSites {splicegear} | R Documentation |
Split an instance of SpliceSites into several instances of SpliceSites
split.SpliceSites(x, f = list(typeI = NA, typeII = NA))
x |
an instance of class SpliceSites-class. |
f |
a list of two factors (see 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.
A list of objects of class SpliceSites
data(spsites) split(spsites)