View source: R/plotting_depmap.R
plot_depmap_lineages | R Documentation |
Plot selected information across lineages from DepMap.
plot_depmap_lineages(
df,
plot.val,
group.by,
lineage = NULL,
depline = TRUE,
label.size = 12,
pt.size = 5,
pt.color = "#56B4E9",
boxplot.fill = "#E2E2E2",
boxplot.line.color = "#000000"
)
df |
data.frame containing information for a single gene
as returned by |
plot.val |
Character scalar of column name to plot values from. |
group.by |
Character scalar of column name to group by. |
lineage |
Character scalar of lineage for which to plot sub-lineage data. |
depline |
Boolean indicating whether to show the dependency threshold line. |
label.size |
Numeric scaler for axis label size. |
pt.size |
Numeric scalar for point size. |
pt.color |
Character scalar for point color. |
boxplot.fill |
Character scalar for boxplot fill color. |
boxplot.line.color |
Character scalar for boxplot line color. |
plotly object
Jared Andrews
get_depmap_plot_data
library(CRISPRball)
data("depmap_22q1_rnai")
plot_depmap_lineages(df = depmap_22q1_rnai, plot.val = "dependency", group.by = "lineage")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.