get_Z_statistics: Calculates Z statistics and p-values

Description Usage Arguments Details Value

View source: R/get_Z_statistics.R

Description

Calculates the probability that a domain sector contains more high-score fend pairs than expected by chance. Uses the observed data and theoretical fend pairs as expected proportions.

Usage

1
get_Z_statistics(contacts)

Arguments

contacts

List of domain entries

Details

Converts the Z-statistic to a p-value of enrichment using pnorm(-Z). For comparison, a p-value is calculated using pnorm(OBS, mean=MEAN, sd=SDEV, lower.tail=FALSE). No correction for multiple testing is made.

Value

The contacts list, with additional information. Contains 'P', derived from the Z-statistic and 'p' derived from the observed high-score count.


ChristopherBarrington/domainClassifyR documentation built on May 3, 2019, 5:22 p.m.