discoDesignSummary: Summarize the experimental design

Description Usage Arguments Value See Also Examples

View source: R/dataInput.R

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

1

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

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

DiscoRhythm documentation built on Nov. 8, 2020, 7:32 p.m.