update_df | R Documentation |
Add a sample (a row) to an existing dataset. This procedure is meant to be used with the "
update_df(mutmatrix, sampleName, ...)
mutmatrix |
an existing (sparse) matrix (mutational matrix) |
sampleName |
the row (sample) name |
... |
sample's genotype (0/1 numbers) |
the modified (sparse) matrix (mutational matrix)
require(dplyr) make_dataset(APC,P53,KRAS) %>% update_df("S1", 1, 0, 1) %>% update_df("S2", 1, 1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.