generateStatsReport: Generate full output report plot document. Plots p-value...

Description Usage Arguments Value Examples

View source: R/calculateStatistics.R

Description

Generate full output report plot document. Plots p-value histograms for each contrast in the NormalyzerStatistics instance and writes these to a PDF report.

Usage

1
2
3
generateStatsReport(nst, jobName, jobDir, sigThres = 0.1,
  sigThresType = "fdr", log2FoldThres = 0, plotRows = 3,
  plotCols = 4)

Arguments

nst

NormalyzerDE statistics object.

jobName

Name of processing run.

jobDir

Path to output directory.

sigThres

Significance threshold for indicating as significant

sigThresType

Type of significance threshold (FDR or p)

log2FoldThres

log2 fold-change required for being counted as significant

plotRows

Number of plot rows.

plotCols

Number of plot columns.

Value

None

Examples

1
2
3
4
5
6
data(example_stat_summarized_experiment)
statObj <- NormalyzerStatistics(example_stat_summarized_experiment)
statObj <- calculateContrasts(statObj, comparisons=c("1-2", "2-3"), 
  condCol="group", type="limma")
outputDir <- tempdir()
generateStatsReport(statObj, "jobName", outputDir)

NormalyzerDE documentation built on Nov. 8, 2020, 8:22 p.m.