analyse_individuals {OMICsPCA} | R Documentation |
This function displays scatterplot of the individuals from integrated assays. This allows the display of scatterplots both in 2D and 3D.
analyse_individuals(name,Assay, choice, PC, group, groupinfo = NULL, ...)
name |
Name of the "PCA" object containing the assay data |
Assay |
Name of an Assay |
choice |
1 = 2D scatterplot on selected PCs through PC argument. 2 = 3D scatterplot on selected PCs through PC argument for details of the choices see the vignette |
PC |
A vector of numbers corresponding to principal components |
group |
A vector of group names. Required only if choice = 2 |
groupinfo |
output of create_group, or similar object containing group information. |
... |
additional arguments allowed to base function "plot3d" of package "rgl" |
Displays various plots and tables as per the combination of input arguments
Subhadeep Das <subhadeep1024@gmail.com>
PCAlist <- integrate_variables(Assays = c("H2az","H3k4me1", "H3k9ac"), name = multi_assay, groups = c("WE","RE"), groupinfo = groupinfo_ext, scale.unit = FALSE, graph = FALSE) analyse_individuals(name = PCAlist, Assay = "H3k9ac", groupinfo = groupinfo_ext, choice = 1, PC = c(1,2))