View source: R/density_jitter_plot.R
density_jitter_plot | R Documentation |
Overlaps a density plot with a jitter plot. A random y-component is added to cause the spread of points.
density_jitter_plot(
mat,
CpG,
sex = NULL,
alpha = 0.5,
lambda = 0.05,
main = NULL
)
mat |
Matrix of a continous varible such as beta-value, M-value, CVlogT, etc (CpGs as rows and samples as columns) |
CpG |
Targeted CpG |
sex |
vector of sex. First level is expected to be Female (coloured pink). Check levels(sex) to see if that is the case. |
alpha |
Transparency |
lambda |
Regulates the random spread of the points |
main |
Title name |
Graphics
density_jitter_plot(beta_value, "cg00050873", pheno$sex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.