- due to changes in struct (removal of unicode)
... | ... |
@@ -25,7 +25,7 @@ A bar chart of the d-statistics for samples in the input PCA model. Samples abov |
25 | 25 |
\section{Inheritance}{ |
26 | 26 |
|
27 | 27 |
A \code{pca_dstat_plot} object inherits the following \code{struct} classes: \cr\cr |
28 |
-\code{pca_dstat_plot()} ⭢ \code{chart()} ⭢ \code{struct_class()} |
|
28 |
+\verb{[pca_dstat_plot]} >> \verb{[chart]} >> \verb{[struct_class]} |
|
29 | 29 |
} |
30 | 30 |
|
31 | 31 |
\examples{ |
- get_description moved to struct and updated
... | ... |
@@ -7,9 +7,9 @@ |
7 | 7 |
pca_dstat_plot(number_components = 2, alpha = 0.05, ...) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{number_components}{(numeric) The number of principal components to use. The default is \code{2}.} |
|
10 |
+\item{number_components}{(numeric) The number of principal components to use. The default is \code{2}.\cr} |
|
11 | 11 |
|
12 |
-\item{alpha}{(numeric) A confidence threshold for rejecting samples based on the d-statistic. The default is \code{0.05}.} |
|
12 |
+\item{alpha}{(numeric) A confidence threshold for rejecting samples based on the d-statistic. The default is \code{0.05}.\cr} |
|
13 | 13 |
|
14 | 14 |
\item{...}{Additional slots and values passed to \code{struct_class}.} |
15 | 15 |
} |
... | ... |
@@ -22,6 +22,16 @@ See \code{\link[struct]{chart_plot}} in the \code{struct} package to plot this c |
22 | 22 |
\description{ |
23 | 23 |
A bar chart of the d-statistics for samples in the input PCA model. Samples above the indicated threshold are considered to be outlying. |
24 | 24 |
} |
25 |
+\section{Inheritance}{ |
|
26 |
+ |
|
27 |
+A \code{pca_dstat_plot} object inherits the following \code{struct} classes: \cr\cr |
|
28 |
+\code{pca_dstat_plot()} ⭢ \code{chart()} ⭢ \code{struct_class()} |
|
29 |
+} |
|
30 |
+ |
|
25 | 31 |
\examples{ |
32 |
+M = pca_dstat_plot( |
|
33 |
+ number_components = 2, |
|
34 |
+ alpha = 0.95) |
|
35 |
+ |
|
26 | 36 |
C = pca_dstat_plot() |
27 | 37 |
} |
... | ... |
@@ -14,7 +14,10 @@ pca_dstat_plot(number_components = 2, alpha = 0.05, ...) |
14 | 14 |
\item{...}{Additional slots and values passed to \code{struct_class}.} |
15 | 15 |
} |
16 | 16 |
\value{ |
17 |
-A \code{pca_dstat_plot} object. |
|
17 |
+A \code{ |
|
18 |
+pca_dstat_plot |
|
19 |
+} object. This object has no \code{output} slots. |
|
20 |
+See \code{\link[struct]{chart_plot}} in the \code{struct} package to plot this chart object. |
|
18 | 21 |
} |
19 | 22 |
\description{ |
20 | 23 |
A bar chart of the d-statistics for samples in the input PCA model. Samples above the indicated threshold are considered to be outlying. |
* fix base=10 regardless of input (see #15)
class constructor was always setting base to 10 instead of the input value
* merge bug fix 1.01 into dev (#19)
* bug fix issue #7
Correctly re-order the sample_meta column for colouring samples in the dendrogram plot
* version bump
bug fix issue #7
* fix for https://github.com/computational-metabolomics/structToolbox/issues/18 (#20)
correctly reorder the factor labels so that the control group always ends up in the denominator for the fold change calculation.
* fix for https://github.com/computational-metabolomics/structToolbox/issues/18
fixed incorrect length check on matching class labels.
* Issue 17 ttest factor (#21)
* convert to factor if not one already
fix for issue #17
* update roxygen version
* fix for issue #9 (#22)
changed from lapply to vapply and used drop=FALSE to ensure compatibility with a single factor.
* allow user to set lambda (#24)
- lambda changed to input parameter. NULL = uses pmp optimisation
- model_predict now uses the set value of lambda, or lambda_opt if used.
- documentation updated
* Feature non parametric fold change (#26)
* add "median" method
based on DOI: 10.1080/00949650212140 can now calcuate fold changes equivalent to using medians and corresponding confidence intervals
* update documentation
* update median method
now correctly calculates ratio of medians
* use wilcox for paired median intervals
make use of wilcox.test to estimate intervals for the median when using median for paired samples
* Issue 23 filter by name (#27)
* fix for #23
moved all model_apply functionality to model_predict so that model_train and model_predict can be used as well as model_apply
* update documentation
* Update mean_of_medians.R (#29)
fix for #28
- correctly loop over all levels in the named factor
* Feature documentation 3 12 (#31)
* update documentation
Description and inputs now pulled from the object definitions for consistency.
* fix definition of label_features
allows NULL and description updated
* replace non ascii characters
* export mixed_effect object
* use correct object name to generate documentation
* export mixed_effect object
* remove non ascii characters
* update tests with new object name
* add import for capture.output
* add import for capture.output
* use pca_biplot in tests
chart was renamed
* add utils import
* update struct dependency version
* update documentation
* update news, version bump
... | ... |
@@ -2,23 +2,22 @@ |
2 | 2 |
% Please edit documentation in R/PCA_plotfcns.R |
3 | 3 |
\name{pca_dstat_plot} |
4 | 4 |
\alias{pca_dstat_plot} |
5 |
-\title{pca_dstat_plot_plot class} |
|
5 |
+\title{d-statistic plot} |
|
6 | 6 |
\usage{ |
7 | 7 |
pca_dstat_plot(number_components = 2, alpha = 0.05, ...) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{number_components}{The number of components to use.} |
|
10 |
+\item{number_components}{(numeric) The number of principal components to use. The default is \code{2}.} |
|
11 | 11 |
|
12 |
-\item{alpha}{The confidence level to plot.} |
|
12 |
+\item{alpha}{(numeric) A confidence threshold for rejecting samples based on the d-statistic. The default is \code{0.05}.} |
|
13 | 13 |
|
14 |
-\item{...}{additional slots and values passed to struct_class} |
|
14 |
+\item{...}{Additional slots and values passed to \code{struct_class}.} |
|
15 | 15 |
} |
16 | 16 |
\value{ |
17 |
-struct object |
|
17 |
+A \code{pca_dstat_plot} object. |
|
18 | 18 |
} |
19 | 19 |
\description{ |
20 |
-Bar chart showing mahalanobis distance from the mean in PCA scores space. A threshold is |
|
21 |
-plotted at a chosen confidence as an indicator for rejecting outliers. |
|
20 |
+A bar chart of the d-statistics for samples in the input PCA model. Samples above the indicated threshold are considered to be outlying. |
|
22 | 21 |
} |
23 | 22 |
\examples{ |
24 | 23 |
C = pca_dstat_plot() |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,25 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/PCA_plotfcns.R |
|
3 |
+\name{pca_dstat_plot} |
|
4 |
+\alias{pca_dstat_plot} |
|
5 |
+\title{pca_dstat_plot_plot class} |
|
6 |
+\usage{ |
|
7 |
+pca_dstat_plot(number_components = 2, alpha = 0.05, ...) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{number_components}{The number of components to use.} |
|
11 |
+ |
|
12 |
+\item{alpha}{The confidence level to plot.} |
|
13 |
+ |
|
14 |
+\item{...}{additional slots and values passed to struct_class} |
|
15 |
+} |
|
16 |
+\value{ |
|
17 |
+struct object |
|
18 |
+} |
|
19 |
+\description{ |
|
20 |
+Bar chart showing mahalanobis distance from the mean in PCA scores space. A threshold is |
|
21 |
+plotted at a chosen confidence as an indicator for rejecting outliers. |
|
22 |
+} |
|
23 |
+\examples{ |
|
24 |
+C = pca_dstat_plot() |
|
25 |
+} |