-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
(firstly, thanks a lot for such a convenient package!)
I was wondering what your view is on having a tidy() method for DESeqTransform objects (coming from rlog() and varianceStabilizingTransform() functions?
Here's a gist with one:
https://gist.github.com/tavareshugo/3973461a7daf8a43e65e3566d5deed14
So, this should work:
# load libraries
library(DESeq2)
library(biobroom)
library(magrittr)
# Source gist
devtools::source_gist("3973461a7daf8a43e65e3566d5deed14", filename = "tidy_DESeqTransform.R")
# Example
dds <- makeExampleDESeqDataSet(betaSD = 1)
# transformations
vst_norm <- varianceStabilizingTransformation(dds)
rlog_norm <- rlog(dds)
# tidying
tidy(vst_norm)
tidy(vst_norm, colData = TRUE)
tidy(rlog_norm)
tidy(rlog_norm, colData = TRUE)I'm happy to fork and submit a pull request, if you think something along these lines is worth it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels