create_result_model | R Documentation |
This function creates a result_model object from signatures, exposures, and a mutation count table.
create_result_model(signatures, exposures, model_id, modality)
signatures |
A matrix or data.frame of signatures by mutational motifs |
exposures |
A matrix or data.frame of samples by signature weights |
model_id |
Name of model |
modality |
Modality of the model |
A result_model object
signatures <- signatures(res, "result", "SBS96", "res")
exposures <- exposures(res, "result", "SBS96", "res")
model <- create_result_model(signatures, exposures, "example_model", "SBS96")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.