R/discovery_prediction.R
generate_result_grid.RdGenerate result_grid from musica based on annotation and range of k
generate_result_grid(
musica,
table_name,
algorithm = "lda",
annotation = NA,
k_start,
k_end,
n_start = 1,
seed = NULL,
par_cores = FALSE,
verbose = FALSE
)A musica object.
Name of table used for signature discovery
Algorithm for signature discovery
Sample annotation to split results into
Lower range of number of signatures for discovery
Upper range of number of signatures for discovery
Number of times to discover signatures and compare based on posterior loglikihood
Seed to use for reproducible results, set to null to disable
Number of parallel cores to use (NMF only)
Whether to output loop iterations
A result object containing signatures and sample weights
data(musica_sbs96)
grid <- generate_result_grid(musica_sbs96, "SBS96", "lda", k_start = 2,
k_end = 5)