Description Usage Arguments Value Examples
View source: R/discovery_prediction.R
Discovers signatures and weights from a table of counts using NMF
1 2 3 4 5 6 7 8 9 | discover_signatures(
bagel,
table_name = NULL,
num_signatures,
method = "lda",
seed = 1,
nstart = 1,
par_cores = FALSE
)
|
bagel |
A bagel object or counts table |
table_name |
Name of table used for signature discovery |
num_signatures |
Number of signatures to discover, k |
method |
Discovery of new signatures using either LDA or NMF |
seed |
Seed for reproducible signature discovery |
nstart |
Number of independent runs with optimal chosen (lda only) |
par_cores |
Number of parallel cores to use (NMF only) |
Returns a result object with results and input object (if bagel)
1 2 3 4 5 | bay <- readRDS(system.file("testdata", "bagel.rds", package = "BAGEL"))
g <- select_genome("19")
build_standard_table(bay, g, "SBS96", overwrite = TRUE)
discover_signatures(bagel = bay, table_name = "SBS96",
num_signatures = 3, method = "nmf", seed = 12345, nstart = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.