Description Usage Arguments Value Author(s) Examples
This function displays density of individuals
1 2 | plot_density(name, Assay, PC = 1, groups,
groupinfo = NULL, ...)
|
name |
Name of the "PCA" object containing the assay data |
Assay |
Name of an Assay |
PC |
A number corresponding to the principal component on which density is to be calculated |
groups |
A vector of names or subset of names of groups |
groupinfo |
same as integrate_variables() |
... |
additional arguments of base function "geom_density" from package "ggplot2" |
a "gg" "ggplot" object
Subhadeep Das <subhadeep1024@gmail.com>
1 2 3 4 5 6 7 8 9 | PCAlist <- integrate_variables(Assays = c("H2az","H3k4me1",
"H3k9ac"), name = multi_assay,
groups = c("WE","RE"), groupinfo = groupinfo_ext,
scale.unit = FALSE, graph = FALSE)
densityplot <- plot_density(name = PCAlist,
Assay = "H2az", groupinfo = groupinfo_ext,
PC = 1, groups = c("WE","RE"),
adjust = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.