K {FRASER} | R Documentation

## Getter/setter for count data

### Description

Getter/setter for count data

setter for count data

### Usage

    K(fds, type = currentType(fds))

    N(fds, type = currentType(fds))

    ## S4 method for signature 'FraserDataSet'
    counts(object, type = NULL, side = c("ofInterest", "otherSide"))

    ## S4 replacement method for signature 'FraserDataSet,ANY'
    counts(object, type = NULL, side = c("ofInterest", "otherSide"), ...) <- value

### Arguments

`fds, object` | FraserDataSet
`type` | The psi type.
`side` | "ofInterest" for junction counts, "other" for sum of counts of all other junctions at the same donor site (psi5) or acceptor site (psi3), respectively.
`...` | Further parameters that are passed to assays(object,...)
`value` | An integer matrix containing the counts.

### Value

FraserDataSet

### Examples

     fds <- createTestFraserDataSet()

     counts(fds, type="psi5", side="ofInterest")
     counts(fds, type="psi5", side="other")
     head(K(fds, type="psi3"))
     head(N(fds, type="theta"))

[Package FRASER version 1.4.0 Index]