heatmap_corr: Function to plot standard correlation between two matrices in...

View source: R/heatmap_corr.R

heatmap_corrR Documentation

Function to plot standard correlation between two matrices in a pdf file

Description

Function to plot standard correlation between two matrices in a pdf file

Usage

heatmap_corr(
  mat1,
  mat2,
  mat1_name,
  mat2_name,
  column_annot,
  row_annot,
  filename
)

Arguments

mat1

first matrix

mat2

second matrix

mat1_name

first matrix name

mat2_name

second matrix name

column_annot

List containing the chromosome location of each cor_matrix column

row_annot

List containing the chromosome location of each cor_matrix rows

filename

Path and name where the plot will be saved (e.g., "/results/Heatmap")

Value

dataframe with estimates and pvalues

Examples

d_rna_mirna <- heatmap_corr(mat1, mat3, mat1_name, mat3_name,
condv_annot, gene_annot, "results/mRNA_miRNA")


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