compute_tissue_corr_matrix: Compute the correlation between two matrices variables(...

View source: R/metaAnalyses.R

compute_tissue_corr_matrixR Documentation

Compute the correlation between two matrices variables( alphabetical order)

Description

Compute the correlation between two matrices variables( alphabetical order)

Usage

compute_tissue_corr_matrix(A, B, label.A, label.B, method, log2 = TRUE,
  report = TRUE, Latex = FALSE, Kable = TRUE, Grid = TRUE,
  headers = TRUE)

Arguments

A

numeric data.frame for the first study to compare

B

numeric data.frame for the second study to compare

label.A

character string. Name of the first study used in the report.

label.B

character string. Name of the second study used in the report.

method

character string. Method for base::cor, either "pearson", "spearman" or "kendall".

log2

logical. Default: TRUE. Whether the data should be transform with log2 or not

report

boolean. Default:TRUE. Whether to output the result before returning the matrix.

Latex

boolean. Default: FALSE. Whether to output in latex format.

Kable

boolean. Default: TRUE. Whether to report with kable.

Grid

boolean. Default: TRUE. Whether to create an image of the output.

headers

boolean. Default: TRUE. Whether to use headers for the reporting.

Value

a matrix with the columns correlation of the two studies.


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.