How to select data from assays list in SummarizedExperiment to plot

How to select data from assays list in SummarizedExperiment to plot

0

I am using DEP Bioconductor package bioconductor.org/packages/release/bioc/vignettes/DEP/inst/doc/DEP.html
I want to visualize normal distribution of data using fitdistrplus pakage’s descdist function

However I get an error. How can I select data from assays list in SummarizedExperiment to plot?

data_norm <- normalize_vsn(data_filt)

data_for_dist <- data_filt@assays$.->data@listData %>%as.data.frame() %>% na.omit() %>% gather(sample,value)

descdist(data_for_dist$value)

Error

Error in h(simpleError(msg, call)) :    error in evaluating the argument 'object' in selecting a method for function 'na.omit': error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': $ operator not defined for this S4 class


r


bioconductor


DEP


SummarizedExperiment

• 33 views

Read more here: Source link