Description Usage Arguments Value Examples
Generate a plot comparing the LFC values of each shRNA of a given gene within all entities. The entity scores are calculated based on the mean or median of the relevant cell line scores.
1 2 | variation.within.entities(object, geneName, type = "value",
statistic = "mean", ...)
|
object |
An RNAi object. |
geneName |
A character string giving the name of the gene in question, e.g. "MDM4". |
type |
The type of values one wishes to show. Either "rank" or "value" (for the LFC scores). |
statistic |
A statistic used to group the cell line scores, can either be "mean" or "median". |
... |
Any other additions to the ggplot. One can change the theme, plot name, etc. as desired. |
A ggplot object.
1 2 3 4 5 6 7 8 9 10 | data("Achilles2.4_Data")
data("Achilles2.4_annotation")
RNAiObject <- new(Class = "RNAi", genes = Achilles2.4_Data$Gene,
sequences = Achilles2.4_Data$Name,
cancers = colnames(Achilles2.4_Data)[-(1:2)],
cancersP53 = Achilles2.4_annotation,
values = Achilles2.4_Data[,-(1:2)])
variation.within.entities(object = RNAiObject, geneName = "MDM4", type = "value", statistic = "mean")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.