kappa_cluster_mrs: Identifies cluster master regulators based on Cohen's Kappa.

View source: R/mr_funcs.R

kappa_cluster_mrsR Documentation

Identifies cluster master regulators based on Cohen's Kappa.

Description

Identifies cluster master regulators based on Cohen's Kappa.

Usage

kappa_cluster_mrs(narnea.res, clust.vec, kappa.thresh = 0.5)

Arguments

narnea.res

NaRnEA result object with 'PES' and 'NES' members.

clust.vec

Vector of clustering labels.

kappa.thresh

Threshold to consider a protein an MR. Default of 0.5.

Value

A list; table of positive MRs ('positive') and negative MRs ('negative'); Stouffer integrated NaRnEA results by cluster ('cluster.narnea'); Kappa values for each protein in each cluster ('kappa.df').


califano-lab/PISCES documentation built on Jan. 11, 2023, 5:34 a.m.