R/InDel-class.R

### ==========================================================================
### InDel objects
### --------------------------------------------------------------------------
### An InDel object contains the insertion and deletion information.


setClass("InDel",
    representation(
        insertion="ANY",
        deletion="ANY"
    )
)


### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Accessor methods.
###

setGeneric("insertion", function(x) standardGeneric("insertion"))
setMethod("insertion", "InDel", function(x) x@insertion)

setGeneric("deletion", function(x) standardGeneric("deletion"))
setMethod("deletion", "InDel", function(x) x@deletion)

Try the Biostrings package in your browser

Any scripts or data that you put into this service are public.

Biostrings documentation built on Nov. 8, 2020, 11:12 p.m.