Description Usage Arguments Value Examples
Generate a PCA plot from DepMap data
1 | deepPCA(deepResult, groupBy = NA, size = 5, deepFilter = NA, labels = F)
|
deepResult |
Any data.table with DepMap_IDs for cell lines (ACH-000002 etc.) in its 1st column and cell line names in its 2nd column. Ideally generated by dmFilter(). |
groupBy |
vector of groupBy names to be extracted |
size |
dot size |
deepFilter |
table with metadata about cell lines. Can be generated with deepFilter(), or leave as NA to use a default |
ggplot2 object. Legend title can be set with ggplot2::labs(color=...). Axis labels can be set with ggplot2::xlab(...) and ylab(...)
1 2 3 | df1 <- deepFilter(disease="Leukemia")
df2 <- deepResult(df1)
pca1 <- deepPCA(df2, "lineage_subtype")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.