Learn R Programming

⚠️There's a newer version (0.28) of this package.Take me there.

Background

Nonnegative Matrix Factorization (NMF) is an unsupervised learning technique that has been applied successfully in several fields, including signal processing, face recognition and text mining. Recent applications of NMF in bioinformatics have demonstrated its ability to extract meaningful information from high-dimensional data such as gene expression microarrays. Developments in NMF theory and applications have resulted in a variety of algorithms and methods. However, most NMF implementations have been on commercial platforms, while those that are freely available typically require programming skills. This limits their use by the wider research community.

Results

Our objective is to provide the bioinformatics community with an open-source, easy-to-use and unified interface to standard NMF algorithms, as well as with a simple framework to help implement and test new NMF methods. For that purpose, we have developed a package for the R/BioConductor platform. The package ports public code to R, and is structured to enable users to easily modify and/or add algorithms. It includes a number of published NMF algorithms and initialization methods and facilitates the combination of these to produce new NMF strategies. Commonly used benchmark data and visualization methods are provided to help in the comparison and interpretation of the results.

Conclusions

The NMF package helps realize the potential of Nonnegative Matrix Factorization, especially in bioinformatics, providing easy access to methods that have already yielded new insights in many applications.


Travis check:

Copy Link

Version

Install

install.packages('NMF')

Monthly Downloads

21,590

Version

0.24.0

License

GPL (>= 2)

Maintainer

Nicolas Sauwen

Last Published

March 29th, 2022

Functions in NMF (0.24.0)

NMF-deprecated

Deprecated Functions in the Package NMF
NMFList-class

Class for Storing Heterogeneous NMF fits
NMFStrategyFunction-class

Interface for Single Function NMF Strategies
NMFStrategy

Factory Method for NMFStrategy Objects
NMFns-class

NMF Model - Nonsmooth Nonnegative Matrix Factorization
nmf_update.brunet_R

NMF Algorithm/Updates for Kullback-Leibler Divergence
NMFfitX-class

Virtual Class to Handle Results from Multiple Runs of NMF Algorithms
nmf_update.lee_R

NMF Algorithm/Updates for Frobenius Norm
NMFOffset-class

NMF Model - Nonnegative Matrix Factorization with Offset
NMFfitX

Factory Method for Multiple NMF Run Objects
NMFstd-class

NMF Model - Standard model
deviance

Distances and Objective Functions
bioc-NMF

Specific NMF Layer for Bioconductor
nmfAlgorithm.SNMF_R

NMF Algorithm - Sparse NMF via Alternating NNLS
checkErrors

Error Checks in NMF Runs
getRNG1

Extracting RNG Data from NMF Objects
basiscor

Correlations in NMF Models
basisnames

Dimension names for NMF objects
cluster_mat

Cluster Matrix Rows in Annotated Heatmaps
fcnnls

Fast Combinatorial Nonnegative Least-Square
connectivity

Clustering Connectivity and Consensus Matrices
aheatmap

Annotated Heatmaps
advanced-NMF

Advanced Usage of the Package NMF
cutdendro

Fade Out the Upper Branches from a Dendrogram
cophcor

Cophenetic Correlation Coefficient
heatmap-NMF

Heatmaps of NMF Factors
Strategy-class

Generic Strategy Class
pmax.inplace

Updating Objects In Place
ccBreaks

Generate Break Intervals from Numeric Variables
algorithm,NMFList-method

Returns the method names used to compute the NMF fits in the list. It returns NULL if the list is empty.
NMF-defunct

Defunct Functions and Classes in the NMF Package
NMF-class

Generic Interface for Nonnegative Matrix Factorisation Models
NMFStrategyIterative-class

Interface for Algorithms: Implementation for Iterative NMF Algorithms
NMFfit-class

Base Class for to store Nonnegative Matrix Factorisation results
basis

Accessing NMF Factors
.atrack

Annotation Tracks
consensus,NMFfitX1-method

Returns the consensus matrix computed while performing all NMF runs, amongst which object was selected as the best fit.
nmf_update.lsnmf

Multiplicative Updates for LS-NMF
ccRamp

Builds a Color Ramp from Compact Color Specification
ccSpec

Extract Colour Palette Specification
fit

Extracting Fitted Models
nmfAlgorithm

Listing and Retrieving NMF Algorithms
NMFfitX1-class

Structure for Storing the Best Fit Amongst Multiple NMF Runs
NMFfitXn-class

Structure for Storing All Fits from Multiple NMF Runs
ccPalette

Builds a Color Palette from Compact Color Specification
summary

Assessing and Comparing NMF Models
nmfApply

Apply Function for NMF Objects
c,NMF-method

Concatenating NMF Models
algorithmic-NMF

Generic Interface for Algorithms
canFit

Testing Compatibility of Algorithm and Models
consensus,NMFfitXn-method

Computes the consensus matrix of the set of fits stored in object, as the mean connectivity matrix across runs.
nbasis

Dimension of NMF Objects
dispersion

Dispersion of a Matrix
nmfSeed

Seeding Strategies for NMF Algorithms
nmf_update.euclidean_offset.h

NMF Multiplicative Update for NMF with Offset Models
offset,NMFfit-method

Returns the offset from the fitted model.
nmfWrapper

Wrapping NMF Algorithms
runtime.all,NMFfitXn-method

Returns the CPU time used to perform all the NMF fits stored in object.
runtime,NMFList-method

Returns the CPU time required to compute all NMF fits in the list. It returns NULL if the list is empty. If no timing data are available, the sequential time is returned.
show,NMFfitX-method

Show method for objects of class NMFfitX
lverbose

Internal verbosity option
show,NMFfitX1-method

Show method for objects of class NMFfitX1
nmfReport

Run NMF Methods and Generate a Report
predict

Clustering and Prediction
nmfObject

Updating NMF Objects
nmf_update.KL.h

NMF Multiplicative Updates for Kullback-Leibler Divergence
.fcnnls

Internal Routine for Fast Combinatorial Nonnegative Least-Squares
purity

Purity and Entropy of a Clustering
randomize

Randomizing Data
profplot

Plotting Expression Profiles
show,NMF-method

Show method for objects of class NMF
show,NMFList-method

Show method for objects of class NMFList
nmfCheck

Checking NMF Algorithm
gfile

Open a File Graphic Device
tryViewport

Internal Grid Extension
nmf_update.euclidean.h

NMF Multiplicative Updates for Euclidean Distance
scale.NMF

Rescaling NMF Models
silhouette.NMF

Silhouette of NMF Clustering
featureScore

Feature Selection in NMF Models
txtProgressBar

Simple Progress Bar
is.nmf

Testing NMF Objects
smoothing

Smoothing Matrix in Nonsmooth NMF Models
nneg

Transforming from Mixed-sign to Nonnegative Data
nmfEstimateRank

Estimate Rank for NMF Models
nmf_update.ns

NMF Multiplicative Update for Nonsmooth Nonnegative Matrix Factorization (nsNMF).
nmf

Running NMF algorithms
esGolub

Golub ExpressionSet
consensushc

Hierarchical Clustering of a Consensus Matrix
fitted

Fitted Matrix in NMF Models
parse_formula

Simple Parsing of Formula
revPalette

Flags a Color Palette Specification for Reversion
options-NMF

NMF Package Specific Options
parallel-NMF

Utilities for Parallel Computations
show,NMFOffset-method

Show method for objects of class NMFOffset
nmf.equal

Testing Equality of NMF Models
rmatrix

Generating Random Matrices
show,NMFfit-method

Show method for objects of class NMFfit
show,NMFStrategyIterative-method

Show method for objects of class NMFStrategyIterative
[,NMF-method

Sub-setting NMF Objects
NMFStop

Stopping Criteria for NMF Iterative Strategies
show,NMFSeed-method

Show method for objects of class NMFSeed
rnmf

Generating Random NMF Models
plot,NMFfit,missing-method

Plots the residual track computed at regular interval during the fit of the NMF model x.
rss

Residual Sum of Squares and Explained Variance
t.NMF

Transformation NMF Model Objects
syntheticNMF

Simulating Datasets
show,NMFns-method

Show method for objects of class NMFns
show,NMFfitXn-method

Show method for objects of class NMFfitXn
seed

Interface for NMF Seeding Methods
setNMFMethod

Registering NMF Algorithms
staticVar

Get/Set a Static Variable in NMF Algorithms
sparseness

Sparseness
ibterms

Fixed Terms in NMF Models
bterms<-

Fixed Terms in NMF Models
nmfFormals

Showing Arguments of NMF Algorithms
match_atrack

Extending Annotation Vectors
compare-NMF

Comparing Results from Different NMF Runs
registerDoBackend

Utilities and Extensions for Foreach Loops
nmfModel

Factory Methods NMF Models
objective,NMFfit-method

Returns the objective function associated with the algorithm that computed the fitted NMF model object, or the objective value with respect to a given target matrix y if it is supplied.
methods-NMF

Registry for NMF Algorithms
offset,NMFOffset-method

Offsets in NMF Models with Offset
residuals

Residuals in NMF Models
NMFSeed

NMFSeed is a constructor method that instantiate NMFSeed objects.
utils-NMF

Utility Function in the NMF Package
setupBackend

Computational Setup Functions
NMFSeed-class

Base class that defines the interface for NMF seeding methods.
NMF-package

Algorithms and framework for Nonnegative Matrix Factorization (NMF).
NMFStrategy-class

Virtual Interface for NMF Algorithms