Response {COMPASS} | R Documentation

## Compute a response probability from COMPASS mcmc samples.

### Description

Compute a response probability based on the selected markers, evaluating the probability that a subject exhibits a response of size `degree` or greater. i.e., the probability of at least `degree` markers exhibiting an antigen specific response.

### Usage

    Response(x, markers, degree)

    ## S3 method for class 'COMPASSResult'
    Response(x, markers = NULL, degree = 1)

### Arguments

`x` | a `COMPASSResult` object.
`markers` | a `vector` of marker names.
`degree` | the `numeric` degree of functionality to test.

### Details

The response is computed from the sampled Gamma matrix, subsetting on the selected markers, and

### Value

A `vector` of response probabilities for each subject.

### Examples

    Response(CR, markers = c("M1","M2","M3"), degree = 2)

[Package COMPASS version 1.26.0 Index]