create_matrix: Create corrplot matrix function to create FDR or rho matrix...

View source: R/create_matrix.R

create_matrixR Documentation

Create corrplot matrix function to create FDR or rho matrix for input in the corrplot function of the package corrplot Expects input from p values/FDR values or rhos, in format as table output from association studies (see function association_study) (correlation results)

Description

Create corrplot matrix function to create FDR or rho matrix for input in the corrplot function of the package corrplot Expects input from p values/FDR values or rhos, in format as table output from association studies (see function association_study) (correlation results)

Usage

create_matrix(
  data,
  x = "first.var",
  y = "second.var",
  values = "rho",
  markers.to.test
)

Arguments

data

input data (data frame or matrix)

x

first variable

y

second variable

values

values to use

markers.to.test

all biomarkers to test

Value

matrix for input in corrplot function


LDSamson/associationstudies documentation built on April 14, 2025, 11:52 a.m.