rrcgr: Prunes redundant close global reference sequences for...

View source: R/remove_redundant_cgr.R

rrcgrR Documentation

Prunes redundant close global reference sequences for subsequent coalescent analysis.

Description

A CGR sequence is removed if it's closest neighbor in the tree is also a CGR. Thus the closest neighborr for each CGR must be a non-CGR sequence

Usage

rrcgr(dtr)

Arguments

dtr

A rooted phylogenetic tree of class ape::phylo or treedater. CGR lineages and *only* CGR sequencs must include the 'CGR' string in the tip label.

Examples

load( system.file( 'data/env_treedater.rda', package = 'pangea') )
rrcgr( dtr_env2 ) -> tr 


thednainus/pangeaZA documentation built on May 9, 2022, 6:21 p.m.