compute_standard_corr: Function to compute standard correlation between two matrices

View source: R/heatmap_corr.R

compute_standard_corrR Documentation

Function to compute standard correlation between two matrices

Description

Function to compute standard correlation between two matrices

Usage

compute_standard_corr(mat1, mat2, mat1_name, mat2_name)

Arguments

mat1

first matrix, genes on rows, samples on columns

mat2

second matrix, genes on rows, samples on columns. The number of samples must be the same

mat1_name

name of the first matrix, e.g., "RNA"

mat2_name

name of the second matrix, e.g., "miRNA"

Value

A list with three fields: 1. cormatrix: correlation matrix estimates 2. pmatrix: pvalue matrix, without fdr correction 3. table: dataframe with all previous info in a table

Examples

d <- compute_standard_corr(mat1, mat2, mat1_name, mat2_name)


martalovino/MoPc documentation built on May 30, 2022, 4:11 p.m.