PDseDataSet-class {PAIRADISE} | R Documentation |
'PDseDataSet' is a subclass of 'SummarizedExperiment'. It can used to store inclusion and skipping splicing counts for pair designed samples.
PDseDataSet(counts, design, lengths)
counts |
The counts of splicing events, including inclusion and skipping counts in 3 dimensions for each sample. |
design |
The paired design data.frame, including sample column for sample ids and group column for design factors. |
lengths |
Two columns iLen and sLen for the effective lengths of inclusion and skipping isoforms. |
A PDseDataSet object
icount <- matrix(1:4, 1) scount <- matrix(5:8, 1) acount <- abind::abind(icount, scount, along = 3) design <- data.frame(sample = rep(c("s1", "s2"), 2), group = rep(c("T", "N"), each = 2)) lens <- data.frame(sLen=1L, iLen=2L) PDseDataSet(acount, design, lens)