Description Usage Arguments Value Author(s) Examples

This function works similarly as "plot_density()". See the man page of "plot_density()" for details.

1 2 | ```
plot_integrated_density(name, PC = 1, groups,
groupinfo = NULL, ...)
``` |

`name` |
Name of the integrated "PCA"" object |

`PC` |
A number corresponding to the principal component on which density is to be calculated. default = 1 |

`groups` |
A vector of names or subset of names of groups |

`groupinfo` |
same as plot_density() |

`...` |
additional arguments allowed to base function "geom_density" of package "ggplot2" |

a "gg" "ggplot" object

Subhadeep Das <[email protected]>

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
exclude <- list(0,c(1,9))
int_PCA <- integrate_pca(Assays = c("H2az",
"H3k9ac"), name = multi_assay, mergetype = 2,
exclude = exclude, groupinfo = groupinfo_ext,
,graph = FALSE)
name = int_PCA$int_PCA
densityplot <- plot_integrated_density(name = name, PC = 1,
groups = c("WE","RE","IntE","NE"), groupinfo = groupinfo_ext)
# additional graphical functions (e.g. xlim, ylim, theme) may be
#added with densityplot (see section VIII. Density analysis)
densityplot
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.