This function plots a bar and dots graph for a single gene comparing two groups using the testGene function.
1 2 3 | plotGene(relativeExpDF, groupCol, geneCol, expressionCol, gene,
alternative = "two.sided", filterOutliers = T,
controlRelativized = F, controlGroup, treatedGroup, maxY = 2)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.