runXtail | R Documentation |
SummarizedExperiment
objectsThe xtail
function can be used directly with
SummarizedExperiment
objects. The mrna
and rpf
data must be stored as two separate
assays.
runXtail(x, mrna_assay, rpf_assay, ...) ## S4 method for signature 'SummarizedExperiment' runXtail(x, mrna_assay, rpf_assay, ...) addXtail(x, ...) ## S4 method for signature 'SummarizedExperiment' addXtail(x, ...)
x |
a |
mrna_assay |
a scalar character. The name of the |
rpf_assay |
a scalar character. The name of the |
... |
|
See xtail
for more details on the analysis
function.
A xtail
object for runXtail
or
an object of class(x)
.
data(xtaildata) test.mrna <- xtaildata$mrna[1:100,] test.rpf <- xtaildata$rpf[1:100,] condition <- c("control","control","treat","treat") se <- SummarizedExperiment(assays = list(mrna = test.mrna, rpf = test.rpf), colData = DataFrame(condition = condition)) xtail <- runXtail(se, "mrna", "rpf", condition = colData(se)$condition, bins = 1000, threads = 2) xtail se <- addXtail(se, "mrna", "rpf", condition = colData(se)$condition, bins = 1000, threads = 2) rowData(se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.