analyse_individuals: Quick analysis and visualization of the...

Description Usage Arguments Value Author(s) Examples

View source: R/analyse_individuals.R

Description

This function displays scatterplot of the individuals from integrated assays. This allows the display of scatterplots both in 2D and 3D.

Usage

1
2
analyse_individuals(name,Assay, choice, PC, group,
groupinfo = NULL, ...)

Arguments

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"

Value

Displays various plots and tables as per the combination of input arguments

Author(s)

Subhadeep Das <subhadeep1024@gmail.com>

Examples

1
2
3
4
5
6
7
8
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))

subhadeep1024/OMICsPCA documentation built on March 17, 2020, 5:23 p.m.