smart_compMATs {smarter}R Documentation

smart_compMATs

Description

smart_compMATs

Usage

smart_compMATs(
  MAT1,
  MAT2 = NULL,
  which_range = NULL,
  xlab,
  ylab,
  show_corr = TRUE,
  show_plot = FALSE,
  main = NULL,
  vec_col = NULL,
  ...
)

Arguments

MAT1

A numeric matrix

MAT2

A second numeric matrix of columns comparable to MAT1. Default is set to NULL resulting in histograms plotted for columns of MAT1

which_range

Default is set to NULL to calculate data ranges. Otherwise if set to "01", will enforce minimum 0 and maximum 1. If set to a numeric vector of two elements, will enforce the range.

xlab

A string for x-axis label

ylab

A string for y-axis label

show_corr

Boolean set to TRUE to print Pearson and Spearman correlations

show_plot

Boolean set to TRUE to plot comparison of two matrices

main

A string for the plot title

vec_col

A vector of colors to color scatter plot points

...

arguments passed to plot

Value

No return value.


[Package smarter version 1.0.1 Index]