# short example 2 simulated panels for testing the tool
devtools::load_all()
# data_dir can be replaced by the character containing
# the directory defined by the user
data_dir <- system.file("extdata/vcf_examples/", package="SigMA")
genomes_matrix <- make_matrix(data_dir, file_type = 'vcf', ref_genome_name = 'hg19')
genomes <- conv_snv_matrix_to_df(genomes_matrix)
genome_file = 'example.csv'
write.table(genomes,
genome_file,
sep = ',',
row.names = F,
col.names = T ,
quote = F)
message(paste0('96-dimensional matrix is saved in ', genome_file))
message('Running SigMA')
run(genome_file,
data = "msk",
do_assign = T,
do_mva = F,
tumor_type = 'breast',
lite_format = F,
catalog_name = 'cosmic_v2_inhouse')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.