results: results

Description Usage Arguments Value Examples

View source: R/helperFunctions.R

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

1
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

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

Trendy documentation built on Nov. 8, 2020, 8:10 p.m.