consistency.of.phenotypes: Consistency of phenotypes plot

Description Usage Arguments Value Examples

Description

Generate a plot comparing the LFC values of each shRNA of a given gene for each cell line of a given entity.

Usage

1
consistency.of.phenotypes(object, entityName, geneName, type = "box", ...)

Arguments

object

An RNAi object.

entityName

A character string giving the name of the entity in question, e.g. "BONE".

geneName

A character string giving the name of the gene in question, e.g. "MDM4".

type

The style of plot one wishes to show, can be one of "box" or "line".

...

Any other additions to the ggplot. One can change the theme, plot name, etc. as desired.

Value

A ggplot object.

Examples

 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)])

consistency.of.phenotypes(object = RNAiObject, entityName = "BONE", geneName = "MDM4", type = "line")

yavorska/AchillesPackage documentation built on May 4, 2019, 2:31 p.m.