co_apex: Calculate the co-apex score for every protein pair

Description Usage Arguments Value Examples

View source: R/co_apex.R

Description

Calculate the co-apex score for every pair of proteins. This is defined as the minimum Euclidean distance between any two Gaussians fit to each profile.

Usage

1
co_apex(gaussians, proteins = NULL)

Arguments

gaussians

a list of Gaussian mixture models fit to the profile matrix by link{build_gaussians}

proteins

all proteins being scored, optionally including those without Gaussian fits

Value

a matrix of co-apex scores

Examples

1
2
3
data(scott_gaussians)
gauss <- scott_gaussians[seq_len(25)]
CA <- co_apex(gauss)

PrInCE documentation built on Nov. 8, 2020, 6:34 p.m.