metabolyseR 0.15.4
Fixed various tidyverse warnings.
Fixed an error when calculating the mds dimensions for multiple class comparisons with differing numbers of observations.
Added the
transformPercent()method for theAnalysisDataS4 class to scale as a percentage of feature maximum intensity.Feature intensities are now displayed as relative percent intensities in heat maps generated by
plotExplanatoryHeatmap().Reduced the gap between the dendrogram and heat map in outputs of
plotExplanatoryHeatmap().
metabolyseR 0.15.3
Fixed the margin value displayed in plots from
plotSupervisedRF()The
plotExplanatoryHeatmap()method for theAnalysisS4 class now returns a warning and skips plotting if an error is encountered whilst trying to plot a heat map.
metabolyseR 0.15.2
Added the argument
refactorto the methodtransformTICnorm()to enable the feature intensities of total ion count (TIC) normalised data to be refactored back to a range consistent with the original data by multiplying the normalised values by the median TIC.Removed the permutation cap when the
permargument ofrandomForest()is less than the total number of permutations possible.
metabolyseR 0.15.1
The class occupancy methods now throw a helpful error message if no features are available on which to compute class occupancy.
Fixed a bug where it was not possible to customize the order of class labels in the legend of
plotLDA().
metabolyseR 0.15.0
It is now possible to specify multiple
clsarguments to the aggregation methods.Correlation thresholds are now available for both coefficient and total number using the
minCoefandmaxCorarguments in thecorrelations()method.Added the
predictions()accessor method for theRandomForestS4 class to enable the retrieval of the out of bag model response predictions.The occupancy filtering methods now error if the value supplied to argument
occupancyis non-numeric.Memory usage and performance improvements for the
randomForest()method.Added
type()andresponse()methods for theUnivariateS4 class.plotLDA()now returns a warning and skips plotting if an error is encountered during PC-LDA.The value
pre-treatedis now the default for argumenttypein theAnalysisS4 class accessor methods.Added the
valueargument to theexplanatoryFeatures()method to allow the specification of on which importance value to apply the specifiedthreshold.The specified
clsargument is now correctly displayed on the x-axis title of the resulting plots from theplotFeature()method.
metabolyseR 0.14.10
Added the method
predict()for theRandomForestS4 class to predict model response values.Added the method
mtry()for theAnalysisDataS4 class to return the defaultmtryrandom forest parameter for a given response variable.Added the method
tune()for theAnalysisDataS4 class to tune the random forest parametersmtryandntreefor a given response variable.
metabolyseR 0.14.9
Suppressed name repair console message encountered during random forest permutation testing.
Added the
proximity()method for extracting sample proximities from theRandomForestS4 class.Added the
mds()method to perform multidimensional scaling on sample proximities from theRandomForestS4 class.Added the
roc()method to calculate receiver-operator characteristic curves from theRandomForestS4 class.
metabolyseR 0.14.8
An error is now thrown during random forest classification when less than two classes are specified.
plotSupervisedRF()now skips plotting if errors are encountered during random forest training.
metabolyseR 0.14.7
- Single replicate classes now automatically removed by
plotLDA().
metabolyseR 0.14.6
plotExplanatoryHeatmap()method for theAnalysisclass now returns the plot only if the number of plots is equal to 1.Removed reference to the
nCoresparameter from the documentation example ofmetabolyse().
metabolyseR 0.14.5
- Correlation analysis results now include an absolute correlation coefficient column by which the results are also arranged in descending order.
metabolyseR 0.14.4
- Console output from
imputeAll()now suppressed.
metabolyseR 0.14.3
Temporarily added jasenfinch/missForest as a remote until stekhoven/missForest pull request #25 is resolved.
The limit of the number of plotted features in
plotExplanatoryHeatmapcan now be specified using thefeatureLimitargument.plotExplanatoryHeatmap()now returns NULL and returns a message when no explanatory features are found.Fixed the alignment of the dendrogram branches with heat map rows in
plotExplanatoryHeatmap().Fixed
ggplot2::guides()warning inplotFeature()andplotTIC().Fixed bug in
explanatoryFeatures()methods forAnalysisclass and lists where the threshold was not applied.Corrected the text in the modelling vignette concerning the results of using unsupervised random forest for outlier detection.
metabolyseR 0.14.2
Package version, creation date and verbose argument added to prototype of
Analysisclass.All generics are now defined as standard generics.
Added
metricsmethod forAnalysisclass.metricsmethod for lists now ignores list elements that are not of classRandomForest.
metabolyseR 0.14.1
- Changed the
RSDthreshargument default to 50% instead of 0.5% inQCrsdFiltergeneric.
metabolyseR 0.14.0
Added a
NEWS.mdfile to track changes to the package.pkgdownsite now available at https://jasenfinch.github.io/metabolyseR/.Bug reports and issues URL at https://github.com/jasenfinch/metabolyseR/issues added to package DESCRIPTION.
Dedicated vignettes now available for a quick start example analysis, data pre-treatment and data modelling.
Function examples added to all documentation pages.
Unit test coverage increased to > 95%.
Parallel processing is now implemented using the
futurepackage.RandomForestandUnivariateclasses now inherit from class theAnalysisDataclass.Improvements to plot theme aesthetics.
typeargument added toplotPCA(),plotLDA(),plotUnsupervisedRF()andplotSupervisedRF()methods for theAnalysisclass."pre-treated"for specifying type argument inAnalysisclass methods now used over"preTreated"Added
clsRename()method for renaming class information columns.plotMeasures()method renamed toplotMetrics().Added
plotMDS(),plotImportance()andplotMetrics()methods for lists ofRandomForestclass objects.Added
plotExplanatoryHeatmap()method for lists ofRandomForestorUnivariateclass objects.Renamed
keepVariables()andremoveVariables()methods tokeepFeatures()andremoveFeatures().Added the helper functions
preTreatmentElements(),preTreatmentMethods()andpreTreatParameters()for declaring pre-treatment parameters for theAnalysisParametersclass.Added the helper functions
modellingMethods()andmodellingParameters()for declaring modelling parameters for theAnalysisParametersclass.Added helper function
correlationsParameters()for declaring correlations parameters for theAnalysisParametersclass.Added
binaryComparisons()method for retrieving all possible binary class comparisons from anAnalysisDataclass object.changeParameter()now assigns parameter values through direct assignment.Added
analysisResults()method from extracting analysis elements results from theAnalysisclass.Added
exportParameters()method for exporting analysis parameters to YAML file format.Added
dat()andsinfo()accessor methods for theAnalysisclass.Relative standard deviation (RSD) values are now specified and returned as percentages.