do_nmf: Perform non-negative matrix factorization

View source: R/do_nmf.R

do_nmfR Documentation

Perform non-negative matrix factorization

Description

Do NMF.

Usage

do_nmf(
  fr,
  rank = 2,
  method = "ls-nmf",
  write = FALSE,
  fn = "output/NMF/output.png"
)

Arguments

fr

A data frame.

rank

NMF rank (default = 2)

method

NMF method (default = "ls-nmf")

write

logical flag: (default = FALSE) if TRUE then a plot will be written to file fn.

fn

a connection or character string naming the file to write to.

Value

A basis map.


tjfinney/ANTTV documentation built on July 22, 2024, 11:52 a.m.