chart_correlation {OMICsPCA} | R Documentation

## Pairwise correlation, scatter plot and histogram on selected groups.

### Description

This function creates pairwise correlation plots and tables; scatter plots and histograms on selected groups. The type of results should be passed through the argument 'choice'. This is a wrapper on various functions and thus can take additional and non-conflicting arguments specific to them.

### Usage

    chart_correlation(name, Assay, groups, choice,
    groupinfo = NULL,
    ...)

### Arguments

`name` | Name of the "MultiAssayExperiment" object containing the assay data
`Assay` | Name of an assay
`groups` | Name of all or subset of groups
`choice` |
    "table" = correlation table

    "scatter" = scatterplot of each pair of columns/variables of
    selected groups

    "hist" = histogram of each column/variables

    "all" = all of 1,2,3 together
`groupinfo` | output of create_group or similar object.
`...` | additional arguments for base functions "chart.Correlation" and "pairs"

### Value

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

### Author(s)

Subhadeep Das <subhadeep1024@gmail.com>

### Examples

    chart_correlation(name = multi_assay,
    Assay = "H2az", groupinfo = groupinfo_ext,
    groups = "WE", choice = "table")

[Package OMICsPCA version 1.10.0 Index]