| set_ranks | R Documentation | 
Given a list of jellyfish input tables and a named list of ranks for each sample, set the rank for each sample.
set_ranks(tables, ranks, default = 1)
| tables | A list of tables (samples, phylogeny, compositions, ranks) | 
| ranks | A named list of ranks for each sample | 
| default | The default rank to use when a sample is not in the rank list (default: 1) | 
A list of tables with ranks set for each sample
jellyfisher_example_tables |>
  select_patients("EOC809") |>
  set_ranks(list("EOC809_r1Bow1_DNA1" = 2, "EOC809_p2Per1_cO_DNA2" = 2),
    default = 1
  ) |>
  jellyfisher()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.