deva_results: Utility function that allows easier grabbing of data

Description Usage Arguments Value Examples

View source: R/outlier_analysis_functions.R

Description

Utility function that allows easier grabbing of data

Usage

1
deva_results(deva_out, ID = NULL, type = NULL)

Arguments

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

Value

desired subset of analysis from deva

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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")

blacksheepr documentation built on Nov. 8, 2020, 7:57 p.m.