counts: Getter/setter for count data

KR 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 = currentType(object), side = c("ofInterest", "otherSide"))

## S4 replacement method for signature 'FraserDataSet,ANY'
counts(
  object,
  type = currentType(object),
  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, side="ofInterest")
 counts(fds, type="jaccard", side="other")
 head(K(fds))
 head(K(fds, type="psi5"))
 head(K(fds, type="psi3"))
 head(N(fds, type="theta"))
 

c-mertes/FraseR documentation built on June 15, 2024, 3:29 a.m.