Description Usage Arguments Examples
Passes the smoothed data matrix to ggplot
1 2 |
data |
A fitted MAGIC object |
... |
Arguments for ggplot() |
1 2 3 4 5 6 7 8 | if (pymagic_is_available() && require(ggplot2)) {
data(magic_testdata)
data_magic <- magic(magic_testdata, genes=c("VIM", "CDH1", "ZEB1"))
ggplot(data_magic, aes(VIM, CDH1, colour=ZEB1)) +
geom_point()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.