filter_40 {CausCor}R Documentation

Make list of A-B pair causal correlations - 40% Filtering version

Description

Make list of A-B pair causal correlations - 40% Filtering version

Usage

filter_40(
  a_mat,
  b_mat,
  a_category,
  b_category,
  min_cor,
  min_r2,
  min_sample = ceiling((ncol(a_mat) - 1) * 0.4),
  max_sample = ncol(a_mat) - 1 - min_sample
)

Arguments

a_mat

Matrix of measurements of A for each sample.

b_mat

Matrix of measurements of B for each sample.

a_category

Category name of A.

b_category

Category name of B.

min_cor

Minimum spearman correlation coefficient.

min_r2

Minimum R2.

min_sample

Minimum number of samples. The default is 40% of the total samples.

max_sample

Maximum number of samples. The default is 60% of the total samples.


[Package CausCor version 0.1.2 Index]