remove.clones.on.tree: function to remove clones from a phylogenetic tree matrix

View source: R/cloneMap.R

remove.clones.on.treeR Documentation

function to remove clones from a phylogenetic tree matrix

Description

This maintains parent -> daughter relationships, even if an intermediate (branch) clone is being removed

Usage

remove.clones.on.tree(tree, clones.to.remove = NA, clones.to.keep = NA)

Arguments

tree

a phylogenetic tree matrix with two column specifying 'parent' (column 1) and child (column 2)

clones.to.remove

a vector of clones which you wish to remove from the tree

clones.to.keep

a vector of clones which you wish to keep i.e. remove all other clones from the tree

Details

You must provide either clones.to.remove or clones.to.keep


amf71/cloneMap documentation built on Jan. 11, 2024, 5:28 a.m.