discoDesignSummary: Summarize the experimental design

View source: R/dataInput.R

discoDesignSummaryR Documentation

Summarize the experimental design

Description

Using sample times and biological sample Ids, constructs a summary table of the number of total samples at each timepoint and additionally summarizes the number of replicates for each biological sample.

Usage

discoDesignSummary(Metadata)

Arguments

Metadata

data.frame of sample data, usually generated by using discoParseMeta on the column names of the Maindata data.frame. If is.null(Metadata) and Maindata is provided as input, Metadata will be generated from Maindata.

Value

A table where the first row summarizes the number of datapoints for each timepoint and other cells indicate the number of technical replicates for a given biological sample.

See Also

discoParseMeta

Examples

# import example data
Metadata <- SummarizedExperiment::colData(discoGetSimu(TRUE))
# Summarize the experiment design
discoDesignSummary(Metadata)


matthewcarlucci/DiscoRhythm documentation built on March 24, 2022, 10:22 a.m.