counts: Getter/setter for count data

Description Usage Arguments Value Examples

Description

Getter/setter for count data

setter for count data

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
5
6
7
 fds <- createTestFraserDataSet()
 
 counts(fds, type="psi5", side="ofInterest")
 counts(fds, type="psi5", side="other")
 head(K(fds, type="psi3"))
 head(N(fds, type="theta"))
 

FRASER documentation built on Feb. 3, 2021, 2:01 a.m.