... | ... |
@@ -14,13 +14,15 @@ Description: Coordinated Gene Activity in Pattern Sets (CoGAPS) |
14 | 14 |
Maintainer: Elana J. Fertig <ejfertig@jhmi.edu>, |
15 | 15 |
Thomas D. Sherman <tomsherman159@gmail.com> |
16 | 16 |
Depends: |
17 |
- R (>= 3.4.0), |
|
18 |
- Rcpp (>= 0.11.0) |
|
17 |
+ R (>= 3.5.0), |
|
18 |
+ Rcpp |
|
19 | 19 |
Imports: |
20 |
+ cluster, |
|
20 | 21 |
methods, |
21 | 22 |
gplots, |
22 | 23 |
graphics, |
23 |
- S4Vectors |
|
24 |
+ S4Vectors, |
|
25 |
+ SingleCellExperiment |
|
24 | 26 |
Suggests: |
25 | 27 |
testthat, |
26 | 28 |
knitr, |
... | ... |
@@ -33,7 +35,7 @@ biocViews: GeneExpression, Transcription, GeneSetEnrichment, |
33 | 35 |
DifferentialExpression, Bayesian, Clustering, TimeCourse, RNASeq, Microarray, |
34 | 36 |
MultipleComparison, DimensionReduction |
35 | 37 |
NeedsCompilation: yes |
36 |
-RoxygenNote: 5.0.1 |
|
38 |
+RoxygenNote: 6.0.1 |
|
37 | 39 |
Collate: |
38 | 40 |
'class-CogapsParams.R' |
39 | 41 |
'CoGAPS.R' |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
# Generated by roxygen2: do not edit by hand |
2 | 2 |
|
3 |
+S3method(plot,CogapsResult) |
|
3 | 4 |
export(CoGAPS) |
4 | 5 |
export(binaryA) |
5 | 6 |
export(buildReport) |
... | ... |
@@ -11,18 +12,20 @@ export(getMeanChiSq) |
11 | 12 |
export(getParam) |
12 | 13 |
export(patternMarkers) |
13 | 14 |
export(patternMatch) |
14 |
-export(plot.CogapsResult) |
|
15 | 15 |
export(plotPatternMarkers) |
16 | 16 |
export(plotResiduals) |
17 | 17 |
export(reconstructGene) |
18 | 18 |
export(setParam) |
19 | 19 |
exportClasses(CogapsParams) |
20 | 20 |
exportClasses(CogapsResult) |
21 |
-importClassesFrom(S4Vectors,Annotated) |
|
22 |
-importClassesFrom(S4Vectors,DataFrame) |
|
23 |
-importClassesFrom(S4Vectors,character_OR_NULL) |
|
21 |
+importClassesFrom(SingleCellExperiment,LinearEmbeddingMatrix) |
|
22 |
+importFrom(cluster,agnes) |
|
24 | 23 |
importFrom(gplots,bluered) |
24 |
+importFrom(gplots,heatmap.2) |
|
25 | 25 |
importFrom(graphics,plot) |
26 | 26 |
importFrom(methods,callNextMethod) |
27 | 27 |
importFrom(methods,new) |
28 |
+importFrom(stats,as.hclust) |
|
29 |
+importFrom(stats,cutree) |
|
30 |
+importFrom(stats,hclust) |
|
28 | 31 |
useDynLib(CoGAPS) |
... | ... |
@@ -1,7 +1,25 @@ |
1 | 1 |
#' CogapsParams |
2 | 2 |
#' @export |
3 |
+#' @rdname CogapsParams-class |
|
3 | 4 |
#' |
4 | 5 |
#' @description Encapsulates all parameters for the CoGAPS algorithm |
6 |
+#' @slot nPatterns number of patterns CoGAPS will learn |
|
7 |
+#' @slot nIterations number of iterations for each phase of the algorithm |
|
8 |
+#' @slot alphaA sparsity parameter for feature matrix |
|
9 |
+#' @slot alphaP sparsity parameter for sample matrix |
|
10 |
+#' @slot maxGibbsMassA atomic mass restriction for feature matrix |
|
11 |
+#' @slot maxGibbsMassP atomic mass restriction for sample matrix |
|
12 |
+#' @slot seed random number generator seed |
|
13 |
+#' @slot singleCell is the data single cell? |
|
14 |
+#' @slot distributed either "genome-wide" or "single-cell" indicating which |
|
15 |
+#' distributed algorithm should be used |
|
16 |
+#' @slot nSets [distributed parameter] number of sets to break data into |
|
17 |
+#' @slot cut [distributed parameter] number of branches at which to cut |
|
18 |
+#' dendrogram used in pattern matching |
|
19 |
+#' @slot minNS [distributed parameter] minimum of individual set contributions |
|
20 |
+#' a cluster must contain |
|
21 |
+#' @slot maxNS [distributed parameter] maximum of individual set contributions |
|
22 |
+#' a cluster can contain |
|
5 | 23 |
setClass("CogapsParams", slots = c( |
6 | 24 |
nPatterns = "numeric", |
7 | 25 |
nIterations = "numeric", |
... | ... |
@@ -12,8 +30,8 @@ setClass("CogapsParams", slots = c( |
12 | 30 |
seed = "numeric", |
13 | 31 |
singleCell = "logical", |
14 | 32 |
distributed = "character", |
15 |
- nSets = "numeric", |
|
16 | 33 |
cut = "numeric", |
34 |
+ nSets = "numeric", |
|
17 | 35 |
minNS = "numeric", |
18 | 36 |
maxNS = "numeric" |
19 | 37 |
)) |
... | ... |
@@ -35,8 +53,8 @@ setMethod("initialize", "CogapsParams", |
35 | 53 |
.Object@seed <- getMilliseconds(as.POSIXlt(Sys.time())) |
36 | 54 |
.Object@singleCell <- FALSE |
37 | 55 |
.Object@distributed <- "" |
38 |
- .Object@nSets <- 3 |
|
39 | 56 |
.Object@cut <- .Object@nPatterns |
57 |
+ .Object@nSets <- 3 |
|
40 | 58 |
.Object@minNS <- ceiling(.Object@nSets / 2) |
41 | 59 |
.Object@maxNS <- .Object@minNS + .Object@nSets |
42 | 60 |
|
... | ... |
@@ -2,10 +2,10 @@ |
2 | 2 |
#' @export |
3 | 3 |
#' |
4 | 4 |
#' @description Contains all output from Cogaps run |
5 |
-#' @importClassesFrom S4Vectors DataFrame Annotated character_OR_NULL |
|
5 |
+#' @importClassesFrom SingleCellExperiment LinearEmbeddingMatrix |
|
6 | 6 |
setClass("CogapsResult", contains="LinearEmbeddingMatrix", slots=c( |
7 | 7 |
sampleStdDev = "ANY", # Psd transpose |
8 |
- featureStdDev = "ANY", # Asd |
|
8 |
+ featureStdDev = "ANY" # Asd |
|
9 | 9 |
)) |
10 | 10 |
|
11 | 11 |
#' Constructor for CogapsResult |
... | ... |
@@ -1,3 +1,18 @@ |
1 |
+setMethod("show", signature("CogapsParams"), |
|
2 |
+function(object) |
|
3 |
+{ |
|
4 |
+ cat("An Object of class \"CogapsParams\"\n") |
|
5 |
+ cat("nPatterns ", object@nPatterns, "\n") |
|
6 |
+ cat("nIterations ", object@nIterations, "\n") |
|
7 |
+ cat("outputFrequency ", object@outputFrequency, "\n") |
|
8 |
+ cat("nCores ", object@nCores, "\n") |
|
9 |
+ cat("singleCell ", object@singleCell, "\n") |
|
10 |
+ cat("seed ", object@seed, "\n") |
|
11 |
+ cat("messages ", object@messages, "\n") |
|
12 |
+ cat("checkpointInterval ", object@checkpointInterval, "\n") |
|
13 |
+ cat("checkpointOutFile ", object@checkpointOutFile, "\n") |
|
14 |
+}) |
|
15 |
+ |
|
1 | 16 |
#' @rdname setParam-methods |
2 | 17 |
#' @aliases setParam |
3 | 18 |
setMethod("setParam", signature(object="CogapsParams"), |
... | ... |
@@ -74,20 +89,4 @@ function(object, args) |
74 | 89 |
} |
75 | 90 |
} |
76 | 91 |
return(object) |
77 |
-}) |
|
78 |
- |
|
79 |
-setMethod("show", signature("CogapsParams"), |
|
80 |
-function(object) |
|
81 |
-{ |
|
82 |
- cat("An Object of class \"CogapsParams\"\n") |
|
83 |
- cat("nPatterns ", object@nPatterns, "\n") |
|
84 |
- cat("nIterations ", object@nIterations, "\n") |
|
85 |
- cat("outputFrequency ", object@outputFrequency, "\n") |
|
86 |
- cat("nCores ", object@nCores, "\n") |
|
87 |
- cat("singleCell ", object@singleCell, "\n") |
|
88 |
- cat("seed ", object@seed, "\n") |
|
89 |
- cat("messages ", object@messages, "\n") |
|
90 |
- cat("checkpointInterval ", object@checkpointInterval, "\n") |
|
91 |
- cat("checkpointOutFile ", object@checkpointOutFile, "\n") |
|
92 |
-}) |
|
93 |
- |
|
92 |
+}) |
|
94 | 93 |
\ No newline at end of file |
... | ... |
@@ -225,7 +225,7 @@ samplePalette=NULL, heatmapCol=bluered, colDenogram=TRUE, scale="row", ...) |
225 | 225 |
ColSideColors=as.character(samplePalette), |
226 | 226 |
rowsep=cumsum(sapply(patternMarkers,length)) |
227 | 227 |
) |
228 |
-}) |
|
228 |
+} |
|
229 | 229 |
|
230 | 230 |
#' @rdname calcCoGAPSStat-methods |
231 | 231 |
#' @aliases calcCoGAPSStat |
... | ... |
@@ -18,14 +18,13 @@ Date: \tab 2018-01-24\cr |
18 | 18 |
License: \tab LGPL\cr |
19 | 19 |
} |
20 | 20 |
} |
21 |
-\author{ |
|
22 |
-Maintainer: Elana J. Fertig \email{ejfertig@jhmi.edu}, |
|
23 |
- Michael F. Ochs \email{ochsm@tcnj.edu} |
|
24 |
-} |
|
25 | 21 |
\references{ |
26 | 22 |
Fertig EJ, Ding J, Favorov AV, Parmigiani G, Ochs MF. |
27 | 23 |
CoGAPS: an R/C++ package to identify patterns and biological |
28 | 24 |
process activity in transcriptomic data. |
29 | 25 |
Bioinformatics. 2010 Nov 1;26(21):2792-3 |
30 | 26 |
} |
31 |
- |
|
27 |
+\author{ |
|
28 |
+Maintainer: Elana J. Fertig \email{ejfertig@jhmi.edu}, |
|
29 |
+ Michael F. Ochs \email{ochsm@tcnj.edu} |
|
30 |
+} |
... | ... |
@@ -7,4 +7,37 @@ |
7 | 7 |
\description{ |
8 | 8 |
Encapsulates all parameters for the CoGAPS algorithm |
9 | 9 |
} |
10 |
+\section{Slots}{ |
|
11 |
+ |
|
12 |
+\describe{ |
|
13 |
+\item{\code{nPatterns}}{number of patterns CoGAPS will learn} |
|
14 |
+ |
|
15 |
+\item{\code{nIterations}}{number of iterations for each phase of the algorithm} |
|
16 |
+ |
|
17 |
+\item{\code{alphaA}}{sparsity parameter for feature matrix} |
|
18 |
+ |
|
19 |
+\item{\code{alphaP}}{sparsity parameter for sample matrix} |
|
20 |
+ |
|
21 |
+\item{\code{maxGibbsMassA}}{atomic mass restriction for feature matrix} |
|
22 |
+ |
|
23 |
+\item{\code{maxGibbsMassP}}{atomic mass restriction for sample matrix} |
|
24 |
+ |
|
25 |
+\item{\code{seed}}{random number generator seed} |
|
26 |
+ |
|
27 |
+\item{\code{singleCell}}{is the data single cell?} |
|
28 |
+ |
|
29 |
+\item{\code{distributed}}{either "genome-wide" or "single-cell" indicating which |
|
30 |
+distributed algorithm should be used} |
|
31 |
+ |
|
32 |
+\item{\code{nSets}}{[distributed parameter] number of sets to break data into} |
|
33 |
+ |
|
34 |
+\item{\code{cut}}{[distributed parameter] number of branches at which to cut |
|
35 |
+dendrogram used in pattern matching} |
|
36 |
+ |
|
37 |
+\item{\code{minNS}}{[distributed parameter] minimum of individual set contributions |
|
38 |
+a cluster must contain} |
|
39 |
+ |
|
40 |
+\item{\code{maxNS}}{[distributed parameter] maximum of individual set contributions |
|
41 |
+a cluster can contain} |
|
42 |
+}} |
|
10 | 43 |
|
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{binaryA} |
5 | 5 |
\alias{binaryA} |
6 | 6 |
\alias{binaryA,CogapsResult-method} |
7 |
+\alias{binaryA} |
|
7 | 8 |
\title{binary heatmap for standardized feature matrix} |
8 | 9 |
\usage{ |
9 | 10 |
binaryA(object, threshold = 3) |
... | ... |
@@ -29,4 +30,3 @@ data(SimpSim) |
29 | 30 |
result <- CoGAPS(SimpSim.D) |
30 | 31 |
binMatrix <- binaryA(result, threshold=3) |
31 | 32 |
} |
32 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{calcCoGAPSStat} |
5 | 5 |
\alias{calcCoGAPSStat} |
6 | 6 |
\alias{calcCoGAPSStat,CogapsResult-method} |
7 |
+\alias{calcCoGAPSStat} |
|
7 | 8 |
\title{calculate gene set statistics} |
8 | 9 |
\usage{ |
9 | 10 |
calcCoGAPSStat(object, GStoGenes, numPerm = 500) |
... | ... |
@@ -30,4 +31,3 @@ data('SimpSim') |
30 | 31 |
result <- CoGAPS(SimpSim.D) |
31 | 32 |
calcCoGAPSStat(result, GStoGenes=GSets, numPerm=500) |
32 | 33 |
} |
33 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{calcGeneGSStat} |
5 | 5 |
\alias{calcGeneGSStat} |
6 | 6 |
\alias{calcGeneGSStat,CogapsResult-method} |
7 |
+\alias{calcGeneGSStat} |
|
7 | 8 |
\title{probability gene belongs in gene set} |
8 | 9 |
\usage{ |
9 | 10 |
calcGeneGSStat(object, GStoGenes, numPerm, Pw = rep(1, ncol(Amean)), |
... | ... |
@@ -36,4 +37,3 @@ data(SimpSim) |
36 | 37 |
result <- CoGAPS(SimpSim.D) |
37 | 38 |
calcGeneGSStat(result, GSGenes=GSets[[1]], numPerm=500) |
38 | 39 |
} |
39 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{calcZ} |
5 | 5 |
\alias{calcZ} |
6 | 6 |
\alias{calcZ,CogapsResult-method} |
7 |
+\alias{calcZ} |
|
7 | 8 |
\title{compute z-score matrix} |
8 | 9 |
\usage{ |
9 | 10 |
calcZ(object, which = "feature") |
... | ... |
@@ -28,4 +29,3 @@ data(SimpSim) |
28 | 29 |
result <- CoGAPS(SimpSim.D) |
29 | 30 |
feature_zscore <- calcZ(result) |
30 | 31 |
} |
31 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{computeGeneGSProb} |
5 | 5 |
\alias{computeGeneGSProb} |
6 | 6 |
\alias{computeGeneGSProb,CogapsResult-method} |
7 |
+\alias{computeGeneGSProb} |
|
7 | 8 |
\title{compute gene probability} |
8 | 9 |
\usage{ |
9 | 10 |
computeGeneGSProb(object, GStoGenes, numPerm = 500, Pw = rep(1, |
... | ... |
@@ -39,4 +40,3 @@ data(SimpSim) |
39 | 40 |
result <- CoGAPS(SimpSim.D) |
40 | 41 |
computeGeneGSProb(result, GSGenes=GSets[[1]], numPerm=500) |
41 | 42 |
} |
42 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{getMeanChiSq} |
5 | 5 |
\alias{getMeanChiSq} |
6 | 6 |
\alias{getMeanChiSq,CogapsResult-method} |
7 |
+\alias{getMeanChiSq} |
|
7 | 8 |
\title{return chi-sq of final matrices} |
8 | 9 |
\usage{ |
9 | 10 |
getMeanChiSq(object) |
... | ... |
@@ -22,4 +23,3 @@ meanChiSq(result) |
22 | 23 |
\description{ |
23 | 24 |
return chi-sq of final matrices |
24 | 25 |
} |
25 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsParams.R |
|
2 |
+% Please edit documentation in R/class-CogapsParams.R, R/methods-CogapsParams.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{getParam} |
5 | 5 |
\alias{getParam} |
6 | 6 |
\alias{getParam,CogapsParams-method} |
7 |
+\alias{getParam} |
|
7 | 8 |
\title{get the value of a parameter} |
8 | 9 |
\usage{ |
9 | 10 |
getParam(object, whichParam) |
... | ... |
@@ -25,4 +26,3 @@ get the value of a parameter |
25 | 26 |
params <- new("CogapsParams") |
26 | 27 |
getParam(params, "seed") |
27 | 28 |
} |
28 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsParams.R |
|
2 |
+% Please edit documentation in R/class-CogapsParams.R, R/methods-CogapsParams.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{parseDirectParams} |
5 | 5 |
\alias{parseDirectParams} |
6 | 6 |
\alias{parseDirectParams,CogapsParams-method} |
7 |
+\alias{parseDirectParams} |
|
7 | 8 |
\title{parse list of parameters passed directly to CoGAPS} |
8 | 9 |
\usage{ |
9 | 10 |
parseDirectParams(object, args) |
... | ... |
@@ -21,4 +22,3 @@ an object of type CogapsParams |
21 | 22 |
\description{ |
22 | 23 |
parse list of parameters passed directly to CoGAPS |
23 | 24 |
} |
24 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsParams.R |
|
2 |
+% Please edit documentation in R/class-CogapsParams.R, R/methods-CogapsParams.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{parseOldParams} |
5 | 5 |
\alias{parseOldParams} |
6 | 6 |
\alias{parseOldParams,CogapsParams-method} |
7 |
+\alias{parseOldParams} |
|
7 | 8 |
\title{parse list of old-style parameters, store relevant values} |
8 | 9 |
\usage{ |
9 | 10 |
parseOldParams(object, oldArgs) |
... | ... |
@@ -21,4 +22,3 @@ an object of type CogapsParams |
21 | 22 |
\description{ |
22 | 23 |
parse list of old-style parameters, store relevant values |
23 | 24 |
} |
24 |
- |
... | ... |
@@ -1,15 +1,15 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{patternMarkers} |
5 | 5 |
\alias{patternMarkers} |
6 | 6 |
\alias{patternMarkers,CogapsResult-method} |
7 |
+\alias{patternMarkers} |
|
7 | 8 |
\title{compute pattern markers statistic} |
8 | 9 |
\usage{ |
9 | 10 |
patternMarkers(object, threshold = "all", lp = NA, full = FALSE) |
10 | 11 |
|
11 |
-\S4method{patternMarkers}{CogapsResult}(object, threshold = "all", lp = NA, |
|
12 |
- full = FALSE) |
|
12 |
+\S4method{patternMarkers}{CogapsResult}(object, threshold, lp) |
|
13 | 13 |
} |
14 | 14 |
\arguments{ |
15 | 15 |
\item{object}{an object of type CogapsResult} |
... | ... |
@@ -20,9 +20,6 @@ by the first gene to have a lower ranking, i.e. better fit to, a pattern.} |
20 | 20 |
|
21 | 21 |
\item{lp}{a vector of weights for each pattern to be used for finding |
22 | 22 |
markers. If NA markers for each pattern of the A matrix will be used.} |
23 |
- |
|
24 |
-\item{full}{logical indicating whether to return the ranks of each gene for |
|
25 |
-each pattern} |
|
26 | 23 |
} |
27 | 24 |
\value{ |
28 | 25 |
By default a non-overlapping list of genes associated with each |
... | ... |
@@ -32,4 +29,3 @@ for each \code{lp} will also be returned. |
32 | 29 |
\description{ |
33 | 30 |
calculate the most associated pattern for each gene |
34 | 31 |
} |
35 |
- |
... | ... |
@@ -1,18 +1,13 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{plotPatternMarkers} |
5 | 5 |
\alias{plotPatternMarkers} |
6 |
-\alias{plotPatternMarkers,CogapsResult-method} |
|
7 | 6 |
\title{heatmap of original data clustered by pattern markers statistic} |
8 | 7 |
\usage{ |
9 | 8 |
plotPatternMarkers(object, data, patternPalette, sampleNames, |
10 | 9 |
samplePalette = NULL, heatmapCol = bluered, colDenogram = TRUE, |
11 | 10 |
scale = "row", ...) |
12 |
- |
|
13 |
-\S4method{plotPatternMarkers}{CogapsResult}(object, data, patternPalette, |
|
14 |
- sampleNames, samplePalette = NULL, heatmapCol = bluered, |
|
15 |
- colDenogram = TRUE, scale = "row", ...) |
|
16 | 11 |
} |
17 | 12 |
\arguments{ |
18 | 13 |
\item{object}{an object of type CogapsResult} |
... | ... |
@@ -46,4 +41,3 @@ heatmap of original data clustered by pattern markers statistic |
46 | 41 |
\seealso{ |
47 | 42 |
\code{\link{heatmap.2}} |
48 | 43 |
} |
49 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{plotResiduals} |
5 | 5 |
\alias{plotResiduals} |
6 | 6 |
\alias{plotResiduals,CogapsResult-method} |
7 |
+\alias{plotResiduals} |
|
7 | 8 |
\title{plot of residuals} |
8 | 9 |
\usage{ |
9 | 10 |
plotResiduals(object, data, uncertainty = NULL) |
... | ... |
@@ -28,4 +29,3 @@ data(SimpSim) |
28 | 29 |
result <- CoGAPS(SimpSim.D) |
29 | 30 |
plotResiduals(result, SimpSim.D) |
30 | 31 |
} |
31 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsResult.R |
|
2 |
+% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{reconstructGene} |
5 | 5 |
\alias{reconstructGene} |
6 | 6 |
\alias{reconstructGene,CogapsResult-method} |
7 |
+\alias{reconstructGene} |
|
7 | 8 |
\title{reconstruct gene} |
8 | 9 |
\usage{ |
9 | 10 |
reconstructGene(object, genes = NULL) |
... | ... |
@@ -26,4 +27,3 @@ data(SimpSim) |
26 | 27 |
result <- CoGAPS(SimpSim.D) |
27 | 28 |
D_estimate <- reconstructGene(result) |
28 | 29 |
} |
29 |
- |
... | ... |
@@ -1,9 +1,10 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/class-CogapsParams.R |
|
2 |
+% Please edit documentation in R/class-CogapsParams.R, R/methods-CogapsParams.R |
|
3 | 3 |
\docType{methods} |
4 | 4 |
\name{setParam} |
5 | 5 |
\alias{setParam} |
6 | 6 |
\alias{setParam,CogapsParams-method} |
7 |
+\alias{setParam} |
|
7 | 8 |
\title{set the value of a parameter} |
8 | 9 |
\usage{ |
9 | 10 |
setParam(object, whichParam, value) |
... | ... |
@@ -27,4 +28,3 @@ set the value of a parameter |
27 | 28 |
params <- new("CogapsParams") |
28 | 29 |
params <- setParam(params, "seed", 123) |
29 | 30 |
} |
30 |
- |