getAdjacencyFstat: Get Adjacency Matrix as indicated by F-statistics

View source: R/3-shared-getAdjacency.R

getAdjacencyFstatR Documentation

Get Adjacency Matrix as indicated by F-statistics

Description

This function gets the significant pairs, according to the F-statistics. Then it fills the adjacency matrix with 1 if pair is significant, otherwise 0. Note that it can only be applied to theta_d, as updateF only works for theta_d.

Usage

getAdjacencyFstat(object, pval = 0.05, fdr_adjusted = TRUE)

Arguments

object

A propd or propr object.

pval

A float value for the p-value. Default is 0.05.

fdr_adjusted

A boolean. If TRUE, use the the FDR- adjusted p-values. Otherwise, get significant pairs based on the theoretical F-statistic cutoff.

Value

An adjacency matrix.


tpq/propr documentation built on Feb. 3, 2025, 4:23 a.m.