|
a |
|
b/man/runPAM.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/runPAM.R |
|
|
3 |
\name{runPAM} |
|
|
4 |
\alias{runPAM} |
|
|
5 |
\title{Run partition around medoids classifier} |
|
|
6 |
\usage{ |
|
|
7 |
runPAM( |
|
|
8 |
train.expr = NULL, |
|
|
9 |
moic.res = NULL, |
|
|
10 |
test.expr = NULL, |
|
|
11 |
gene.subset = NULL |
|
|
12 |
) |
|
|
13 |
} |
|
|
14 |
\arguments{ |
|
|
15 |
\item{train.expr}{A matrix of normalized expression training data with rows for genes and columns for samples; FPKM or TPM without log2 transformation is recommended.} |
|
|
16 |
|
|
|
17 |
\item{moic.res}{An object returned by `getMOIC()` with one specified algorithm or `get\%algorithm_name\%` or `getConsensusMOIC()` with a list of multiple algorithms.} |
|
|
18 |
|
|
|
19 |
\item{test.expr}{A matrix of normalized expression testing data with rows for genes and columns for samples; FPKM or TPM without log2 transformation is recommended.} |
|
|
20 |
|
|
|
21 |
\item{gene.subset}{A string vector to indicate a subset of genes to be used.} |
|
|
22 |
} |
|
|
23 |
\value{ |
|
|
24 |
A list with the following components: |
|
|
25 |
|
|
|
26 |
\code{IGP} a named numeric vector storing the in-group proportion (see \link[clusterRepro]{IGP.clusterRepro}). |
|
|
27 |
|
|
|
28 |
\code{clust.res} similar to `clust.res` returned by `getMOIC()` or `get%algorithm_name%` or `getConsensusMOIC()`. |
|
|
29 |
|
|
|
30 |
\code{mo.method} a string value indicating the method used for prediction. |
|
|
31 |
} |
|
|
32 |
\description{ |
|
|
33 |
Using partition around medoids (PAM) classifier to predict potential subtype label on external cohort and calculate in-group proportions (IGP) statistics. |
|
|
34 |
} |
|
|
35 |
\details{ |
|
|
36 |
This function first trains a partition around medoids (PAM) classifier in the discovery (training) cohort |
|
|
37 |
to predict the subtype for patients in the external validation (testing) cohort, |
|
|
38 |
and each sample in the validation cohort was assigned to a subtype label whose centroid had the highest Pearson correlation with the sample. |
|
|
39 |
Finally, the in-group proportion (IGP) statistic will be performed to evaluate the similarity and reproducibility of the acquired subtypes between discovery and validation cohorts. |
|
|
40 |
} |
|
|
41 |
\examples{ |
|
|
42 |
# There is no example and please refer to vignette. |
|
|
43 |
} |
|
|
44 |
\references{ |
|
|
45 |
Tibshirani R, Hastie T, Narasimhan B and Chu G (2002). Diagnosis of multiple cancer types by shrunken centroids of gene expression. Proc Natl Acad Sci, 99,6567–6572. |
|
|
46 |
|
|
|
47 |
Kapp A V, Tibshirani R. (2007). Are clusters found in one dataset present in another dataset?. Biostatistics, 8(1):9-31. |
|
|
48 |
} |