co_apex {PrInCE} | R Documentation

## Calculate the co-apex score for every protein pair

### 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

    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

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

[Package PrInCE version 1.0.1 Index]