View source: R/outlier_analysis_functions.R
| deva_results | R Documentation | 
Utility function that allows easier grabbing of data
deva_results(deva_out, ID = NULL, type = NULL)
| deva_out | output from the deva function | 
| ID | The keyword to search through analyses and grab desired output | 
| type | <"table" | "heatmap" | "fraction_table" | "median" | "boundary"> to return the desirted analysis type | 
desired subset of analysis from deva
suppressPackageStartupMessages(library(SummarizedExperiment))
data("sample_phosphodata")
data("sample_annotationdata")
se = SummarizedExperiment(
    assays = list(counts = as.matrix(sample_phosphodata[1:1000,])),
    colData = DataFrame(sample_annotationdata))
deva_out = deva(se = se,
    analyze_negative_outliers = FALSE, aggregate_features = TRUE,
    feature_delineator = "-", fraction_samples_cutoff = 0.3,
    fdrcutoffvalue = 0.1)
deva_results(deva_out, ID = "outlieranalysis", type = "table")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.