CCAcompare: CCAcompare

Description Usage Arguments Details Value

View source: R/CCAcompare.R

Description

Compares the an experimental matrix of expression values against a reference matrix of expression values to that of an entry in the Gene Expression Omnibus database.

Usage

1
2
CCAcompare(ref_mat, expr_mat, do_plot = FALSE, cor_function_use = cor,
  ...)

Arguments

ref_mat

A variable x observation (i.e. genes as rows, samples as columns) matrix of reference values

expr_mat

A variable x observation matrix of experimental values

do_plot

Plot the correlation matrix. Default: FALSE

cor_function_use

Correlation function to be used. Default: stats::cor

...

Additional parameters to pass to the correlation function

Details

Performs a canonical correlation analysis on the two datasets and then assesses the correlation using the CC scores.

Value

A matrix of correlation values


milescsmith/exprcompareR documentation built on July 26, 2019, 4:59 a.m.