PomaCorr: Correlation Analysis

View source: R/PomaCorr.R

PomaCorrR Documentation

Correlation Analysis

Description

PomaCorr computes all pairwise correlations in the data.

Usage

PomaCorr(data, method = "pearson", label_size = 8, theme_params = list())

Arguments

data

A SummarizedExperiment object.

method

Character. Indicates which correlation coefficient has to be computed. Options are "pearson" (default), "kendall" and "spearman".

label_size

Numeric. Indicates plot label size.

theme_params

List. Indicating theme_poma parameters.

Value

A list with the results.

Author(s)

Pol Castellano-Escuder

References

Jerome Friedman, Trevor Hastie and Rob Tibshirani (2019). glasso: Graphical Lasso: Estimation of Gaussian Graphical Models. R package version 1.11. https://CRAN.R-project.org/package=glasso

Examples

data("st000284")

# Pearson correlation
PomaCorr(st000284)$correlations

## Gaussian graphical model
# library(ggraph)
# PomaCorr(st000284, corr_type = "glasso")

pcastellanoescuder/POMA documentation built on March 15, 2024, 10:08 p.m.