Browse code

rebuild documentation

- due to changes in struct (removal of unicode)

Gavin Rhys Lloyd authored on 02/02/2024 10:50:50
Showing 1 changed files
... ...
@@ -24,7 +24,7 @@ The samples in the data matrix are normalised to account for differences in conc
24 24
 \section{Inheritance}{
25 25
 
26 26
 A \code{vec_norm} object inherits the following \code{struct} classes: \cr\cr
27
-\code{vec_norm()} ⭢ \code{model()} ⭢ \code{struct_class()}
27
+\verb{[vec_norm]} >> \verb{[model]} >> \verb{[struct_class]}
28 28
 }
29 29
 
30 30
 \examples{
Browse code

update documentation

- get_description moved to struct and updated

Gavin Rhys Lloyd authored on 31/01/2024 09:48:31
Showing 1 changed files
... ...
@@ -21,7 +21,15 @@ struct object
21 21
 \description{
22 22
 The samples in the data matrix are normalised to account for differences in concentration by scaling each sample such that the sum of squares is equal to 1.
23 23
 }
24
+\section{Inheritance}{
25
+
26
+A \code{vec_norm} object inherits the following \code{struct} classes: \cr\cr
27
+\code{vec_norm()} ⭢ \code{model()} ⭢ \code{struct_class()}
28
+}
29
+
24 30
 \examples{
25 31
 M = vec_norm()
26 32
 
33
+M = vec_norm()
34
+
27 35
 }
Browse code

add outputs to auto generated documentation (#58)

Gavin Rhys Lloyd authored on 07/07/2021 09:37:19 • GitHub committed on 07/07/2021 09:37:19
Showing 1 changed files
... ...
@@ -10,7 +10,11 @@ vec_norm(...)
10 10
 \item{...}{Additional slots and values passed to \code{struct_class}.}
11 11
 }
12 12
 \value{
13
-A  \code{vec_norm} object.
13
+A  \code{vec_norm} object with the following \code{output} slots:
14
+\tabular{ll}{
15
+\code{normalised} \tab          (DatasetExperiment) A DatasetExperiment object containing the normalised data. \cr
16
+\code{coeff} \tab          (data.frame) The normalisation coefficients calculated by PQN. \cr
17
+}
14 18
 
15 19
 struct object
16 20
 }
Browse code

Release 3 12 candidate (#32)

* 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

Gavin Rhys Lloyd authored on 25/10/2020 08:50:13 • GitHub committed on 25/10/2020 08:50:13
Showing 1 changed files
... ...
@@ -7,14 +7,15 @@
7 7
 vec_norm(...)
8 8
 }
9 9
 \arguments{
10
-\item{...}{additional slots and values passed to struct_class}
10
+\item{...}{Additional slots and values passed to \code{struct_class}.}
11 11
 }
12 12
 \value{
13
+A  \code{vec_norm} object.
14
+
13 15
 struct object
14 16
 }
15 17
 \description{
16
-Applies vector normalisation, such the sum of squared values for each sample
17
-after normalisation are equal to 1.
18
+The samples in the data matrix are normalised to account for differences in concentration by scaling each sample such that the sum of squares is equal to 1.
18 19
 }
19 20
 \examples{
20 21
 M = vec_norm()
Browse code

update to use new struct class constructors

Gavin Rhys Lloyd authored on 06/02/2020 13:51:52
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 % Please edit documentation in R/vec_norm_class.R
3 3
 \name{vec_norm}
4 4
 \alias{vec_norm}
5
-\title{vector nromalisation}
5
+\title{Vector normalisation}
6 6
 \usage{
7 7
 vec_norm(...)
8 8
 }
... ...
@@ -13,7 +13,8 @@ vec_norm(...)
13 13
 struct object
14 14
 }
15 15
 \description{
16
-applies vector normalisation
16
+Applies vector normalisation, such the sum of squared values for each sample
17
+after normalisation are equal to 1.
17 18
 }
18 19
 \examples{
19 20
 M = vec_norm()
Browse code

incremental changes to use struct class constructors

Gavin Rhys Lloyd authored on 04/02/2020 17:18:11
Showing 1 changed files
... ...
@@ -7,7 +7,7 @@
7 7
 vec_norm(...)
8 8
 }
9 9
 \arguments{
10
-\item{...}{slots and values for the new object}
10
+\item{...}{additional slots and values passed to struct_class}
11 11
 }
12 12
 \value{
13 13
 struct object
Browse code

add @return to documentation

Gavin Rhys Lloyd authored on 19/12/2019 15:14:02
Showing 1 changed files
... ...
@@ -9,6 +9,9 @@ vec_norm(...)
9 9
 \arguments{
10 10
 \item{...}{slots and values for the new object}
11 11
 }
12
+\value{
13
+struct object
14
+}
12 15
 \description{
13 16
 applies vector normalisation
14 17
 }
Browse code

fix broken tests and...

...update some documentation

Gavin Rhys Lloyd authored on 17/12/2019 17:24:38
Showing 1 changed files
... ...
@@ -6,6 +6,9 @@
6 6
 \usage{
7 7
 vec_norm(...)
8 8
 }
9
+\arguments{
10
+\item{...}{slots and values for the new object}
11
+}
9 12
 \description{
10 13
 applies vector normalisation
11 14
 }
Browse code

use class contructors and...

...rename all function with dot to underscore
replace dataset with DatasetExperiment

Gavin Rhys Lloyd authored on 17/12/2019 15:48:01
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,15 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/vec_norm_class.R
3
+\name{vec_norm}
4
+\alias{vec_norm}
5
+\title{vector nromalisation}
6
+\usage{
7
+vec_norm(...)
8
+}
9
+\description{
10
+applies vector normalisation
11
+}
12
+\examples{
13
+M = vec_norm()
14
+
15
+}