plotKnockdown | R Documentation |
Plot gene expression with knockdown efficiency
plotKnockdown(
goiExpr,
exprsVar = "exprs",
groupVar = "group",
controlGroup = NULL,
trans = "identity",
exprsUnit = "Arbitrary Unit",
test = c("wilcox.test", "t.test")
)
goiExpr |
A data.frame containing expression of gene of interest in linear scale, which
must contain columns given below as |
exprsVar |
Character, the variable name of expression. The unit must be in linear scale, not in logarithmic scale, otherwise the knockdown efficiency calculation will be wrong. |
groupVar |
Character, the variable name of grouping. The column must be a factor or a character. |
controlGroup |
|
trans |
Character, transformation of the y-axis, commonly used values include |
exprsUnit |
Character, unit name of expression (TPM, CPM, RPKM, etc.) |
test |
Character, statistical test, |
myData <- data.frame(group=gl(3,4),
exprs=as.vector(sapply(c(100, 10, 1), function(x) rnorm(4, x))))
plotKnockdown(myData)
myData2 <- data.frame(group=rep(c("Vehicle", "Dose1", "Dose2"), each=4),
exprs=as.vector(sapply(c(100, 10, 1), function(x) rnorm(4, x))))
plotKnockdown(myData2, controlGroup="Vehicle")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.