Skip to contents

Given a list of jellyfish input tables and a named list of parents for each sample, set the parent for each sample.

Usage

set_parents(tables, parents, unset_missing = FALSE)

Arguments

tables

A list of tables (samples, phylogeny, compositions)

parents

A named list of parents for each sample

unset_missing

If TRUE, unset the parent for samples that are not in the parent list

Value

A list of tables with parents set for each sample

Examples

jellyfisher_example_tables |>
  select_patients("EOC809") |>
  set_parents(list("EOC809_r1Bow1_DNA1" = "EOC809_p2Per1_cO_DNA2")) |>
  jellyfisher()