RainSignificantPlot: RainSignificantPlot :

Description Usage Arguments Value Examples

View source: R/rain_functions.R

Description

Prints or saves plots of the genes found to be most significant by RainAnalysis

Usage

1
RainSignificantPlot(results, dataset, number = 10, print = TRUE, save = FALSE)

Arguments

results

A dataframe generated by RainAnalysis

dataset

A transcriptomics dataset which was used with RainAnalysis to generate the results dataframe. First columns should be gene names. All other columns should be expression levels.

number

The number of most significant genes printed or saved

print

Logical. If TRUE renders significant genes in the plot viewer. Defaults to TRUE

save

Logical. If TRUE, saves plots to working directory. Defaults to FALSE.

Value

Prints or saves ggplot2 object(s).

Examples

1
2
results <- RainAnalysis(Laurasmappings, period = 24)
RainSignificantPlot(results,Laurasmappings, save=TRUE, number=15)

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.