...
|
...
|
@@ -5,9 +5,10 @@
|
5
|
5
|
\alias{Response.COMPASSResult}
|
6
|
6
|
\title{Compute a response probability from COMPASS mcmc samples.}
|
7
|
7
|
\usage{
|
8
|
|
-Response(x, markers, degree)
|
|
8
|
+Response(x, markers, degree, max.pro)
|
9
|
9
|
|
10
|
|
-\method{Response}{COMPASSResult}(x, markers = NULL, degree = 1)
|
|
10
|
+\method{Response}{COMPASSResult}(x, markers = NULL, degree = 1,
|
|
11
|
+ max.prob = FALSE)
|
11
|
12
|
}
|
12
|
13
|
\arguments{
|
13
|
14
|
\item{x}{a \code{COMPASSResult} object.}
|
...
|
...
|
@@ -15,6 +16,8 @@ Response(x, markers, degree)
|
15
|
16
|
\item{markers}{a \code{vector} of marker names.}
|
16
|
17
|
|
17
|
18
|
\item{degree}{the \code{numeric} degree of functionality to test.}
|
|
19
|
+
|
|
20
|
+\item{max.prob}{\code{logical} Use the max probability rather than the average across subsets. Defaults to FALSE.}
|
18
|
21
|
}
|
19
|
22
|
\value{
|
20
|
23
|
A \code{vector} of response probabilities for each subject.
|