get_cormat: Calculate a correlation matrix from a data table

Description Usage Arguments

View source: R/library.R

Description

Calculate a correlation matrix from a data table

Usage

1
get_cormat(data, xcol, ycol, valuecol, method = "pearson", pval = F)

Arguments

data:

a data table

xcol:

the column name to be taken as x column

ycol:

the column name to be taken as y column

valuecol:

the column name to be taken as valuecol

method:

pearson or spearman, type argumetn from 'rcorr'

pval:

return p values for the correlations?


BodenmillerGroup/bbRtools documentation built on May 20, 2020, 1:36 a.m.