MPRASet-class | R Documentation |
"MPRASet"
A container for data from massively parallel reporter assays (MPRA). Builds on the SummarizedExperiment class.
## Constructor
MPRASet(DNA = new("matrix"), RNA = new("matrix"),
barcode = new("character"), eid = new("character"),
eseq = new("character"), ...)
## Accessors
getRNA(object, aggregate = FALSE)
getDNA(object, aggregate = FALSE)
getBarcode(object)
getEid(object)
getEseq(object)
object |
A |
aggregate |
A |
DNA |
A matrix of DNA counts where rows correspond to elements or individual barcodes and columns to samples of conditions being compared. |
RNA |
A matrix of RNA counts where rows correspond to elements or individual barcodes and columns to samples of conditions being compared. |
barcode |
If barcodes are supplied, a |
eid |
A |
eseq |
If supplied, a |
... |
Further arguments to be passed to
|
The constrcutor function MPRASet
returns an object of class
"MPRASet"
.
Slots are as described in a SummarizedExperiment
. Of
particular interest are colData
which describes the phenotype
data. The assay
slot holds the assay data, with specific assay
names RNA
and DNA
(accessed by getRNA
and
getDNA
). Element and barcode data are accessible in the
rowData
slot. We have chosen to store barcode and element as
character
to be flexible, although they are often DNA sequences
(and could therefore be considered DNAStringSet
(from package
Biostrings)).
Class "SummarizedExperiment"
, directly.
getDNA
:Gets the DNA channel data.
getRNA
:Gets the RNA channel data.
getBarcode
:Gets the barcode, if present.
getEid
:Gets the element ID
getEseq
:Gets the element sequence, if present.
SummarizedExperiment
for the basic class that is
used as a building block.
showClass("MPRASet")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.