plot_gof: Plot goodness-of-fit

Description Usage Arguments

View source: R/sigfit_plotting.R

Description

plot_gof plots the goodness-of-fit of a set of samples, each of which has typically been sampled using an signature extraction model with a different number of signatures.

Usage

1
plot_gof(sample_list, stat = "cosine")

Arguments

sample_list

List containing the results of signature extraction using extract_signatures with multiple numbers of signatures (see argument nsignatures in extract_signatures).

stat

Function for measuring goodness-of-fit. Admits character values "cosine" (cosine similarity, default) or "L2" (L2 norm or Euclidean distance).


kgori/sigfit documentation built on Feb. 3, 2022, 12:04 p.m.