results: results

View source: R/helperFunctions.R

resultsR Documentation

results

Description

Convenient helper function to extract the results of running Trendy. Results data.frames/matrices are stored in the metadata slot and can also be accessed without the help of this convenience function by calling metadata().

Usage

results(DATA, type = c("TrendyFits"))

Arguments

DATA

An object of class SummarizedExperiment that contains normalized expression and other metadata, and the output of the Trendy function.

type

A character variable specifying which output is desired, with possible values "TrendyFits". By default results() will return type="TrendyFits", which is the matrix of normalized counts from SCnorm.

Value

A data.frame containing output as detailed in the description of the type input parameter

Examples

 data(trendyExampleData)
 Conditions = rep(c(1), each= 90)
 trendyOut <- trendy(Data=trendyExampleData[seq_len(2),])
 trendyResults <- results(trendyOut)

rhondabacher/Trendy documentation built on Oct. 26, 2023, 3:46 a.m.