Learn R Programming

ChemoSpecUtils (version 1.0.5)

Functions Supporting Packages ChemoSpec and ChemoSpec2D

Description

Functions supporting the common needs of packages 'ChemoSpec' and 'ChemoSpec2D'.

Copy Link

Version

Install

install.packages('ChemoSpecUtils')

Monthly Downloads

961

Version

1.0.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Bryan Hanson

Last Published

April 12th, 2025

Functions in ChemoSpecUtils (1.0.5)

.findNA

Find NA in a Spectra2D Object
.getExtremeCoords

getExtremeCoords
.addMethod

Add Info About Data Reduction Method to Plot
.computeEllipses

Compute Confidence Ellipses
.plotHCA

Plot Dendrogram for Spectra or Spectra2D Object
.chkReqGraphicsPkgs

Verify Required Graphics Packages are Available.
.getLimits

Process Limits for a Spectra2D Plot
.ggAnnotate

Annotate a ggplot2 Plot with Text
.ggRepel

Wrapper for geom_text_repel
removeSample

Remove Samples from a Spectra or Spectra2D Object
.drawPoints

Add Points to a Score Plot
rowDist

Compute Distance Between Rows of a Matrix
.drawEllipses

Add Ellipses to Plot
.groupNcolor

Assign Group Membership and Colors for a Spectra or Spectra2D Object
.shrinkLeaf

Shrink the Leaves of a Dendrogram Based on a Spectra Object
removeGroup

Remove a Group from a Spectra or Spectra2D Object
.remGrpSam

Remove Groups or Samples from a Spectra or Spectra2D Object
removeFreq

Remove Frequencies from a Spectra or Spectra2D Object
updateGroups

Update Group Names in a Spectra or Spectra2D Object
hcaScores

HCA on PCA/MIA/PARAFAC scores from a Spectra or Spectra2D Object
.getVarExplained

Compute the Variance Explained from PCA or Other Reduction Methods
sumSpectra

Summarize a Spectra or Spectra2D Object
.colLeaf

Color the Leaves of a Dendrogram Based on a Spectra Object
.ggAddLegend

Add Legend to a ggplot2 Plot
.labelExtremes

Label Extreme Values
.scorePlot

scorePlot
plotScores

Plot Scores from PCA, MIA or PARAFAC Analysis of a Spectra or Spectra2D Object
sampleDist

Compute the Distances Between Samples in a Spectra or Spectra2D Object
plotScree

Scree Plots from PCA or MIA Analysis of a Spectra or Spectra2D Object
sumGroups

Summarize the Group Membership of a Spectra or Spectra2D Object
check4Gaps

Check for Discontinuities (Gaps) in a Vector & Optionally Make a Plot
ChemoSpecUtils-package

Functions Supporting Packages ChemoSpec and ChemoSpec2D
.addLegend

Add a Legend to a Plot
checkForPackageWithVersion

Check for an Installed Package with a Particular Version or Newer
.addEllipseInfo

Add Info About Ellipses to Plot
GraphicsOptions

Graphic Output Options in ChemoSpec and ChemoSpec2D
chkGraphicsOpt

Check the Graphic Output Option/Mode
colorSymbol

Color in ChemoSpec and ChemoSpec2D
chkSpectra

Verify the Integrity of a Spectra or Spectra2D Object
conColScheme

Change the Color Scheme of a Spectra or Spectra2D Object
.prepLegendCoords

Sanitize Legend Coordinates
.distPlot

Draw a Distance Plot
.chkArgs

Check spectra and pca Arguments of Functions That Require Them
.extraData

Check for Extra Data Appended to a Spectra or Spectra2D Object