CorVMatSig: Correlate vector to matrix and test significance

View source: R/CorVMatSig.R

CorVMatSigR Documentation

Correlate vector to matrix and test significance

Description

Correlate Named Vector to similarly named columns in a matrix and determine probability of seeing that number of significant correlations relative to a NULL distribution. Input vector (x) is a named vector that corresponds to colnames in matrix (y). Correlations between

Usage

CorVMatSig(x, y, method = "pearson", iter = 100, p.cutoff = 0.05, pct = 1)

Arguments

x

Named Vector to be correlated with matrix y

y

Matrix with compatible names as vector x

method

type of correlation to use "pearson" or "spearman"

iter

number of iterations to run

p.cutoff

p value cutoff for determining significance

pct

percentage upper variance to use


genejockey33000/typGumbo documentation built on July 20, 2023, 11:45 p.m.