plotGene: plotGene

Description Usage Arguments

View source: R/functions.R

Description

This function plots a bar and dots graph for a single gene comparing two groups using the testGene function.

Usage

1
2
3
plotGene(relativeExpDF, groupCol, geneCol, expressionCol, gene,
  alternative = "two.sided", filterOutliers = T,
  controlRelativized = F, controlGroup, treatedGroup, maxY = 2)

Arguments

relativeExpDF

Dataframe with gene relative expression information.

groupCol

Grouping column to be used for difference testing.

geneCol

Column containing gene names.

expressionCol

Column containing relative expression.

gene

Gene to test.

alternative

Alternative hypothesis for the test ("two.sided", "greater" or "less").

filterOutliers

Whether to remove outliers or not. Only one outlier per group based on Grubb's test.

controlRelativized

Display expression relativized to control group (i.e. control group mean expression = 1)

controlGroup

Name of the control group.

treatedGroup

Name of the treated group.

maxY

Upper limit of y axis.


ogianatiempo/qPCRutils documentation built on Dec. 3, 2019, 11:05 p.m.