K {FRASER} | R Documentation |
Getter/setter for count data
setter for count data
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
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. |
FraserDataSet
fds <- createTestFraserDataSet() counts(fds, type="psi5", side="ofInterest") counts(fds, type="psi5", side="other") head(K(fds, type="psi3")) head(N(fds, type="theta"))