dot-filter_coverage: Internal. Filters the GD counts by the species coverage of...

Description Usage Arguments See Also

Description

Main internal function for filter_GD_by_coverage to identify for each gd whether the two duplicated subclades contains species number more than a given level.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
.filter_coverage(
  phyto,
  node,
  trees,
  gdtable,
  sptree,
  sub_coverage,
  max.tip,
  split,
  tree_id_tab,
  up_one_node = up_one_node,
  plot = plot,
  pdfwid = pdfwid,
  pdflen = pdflen
)

Arguments

phyto

the phyto id for the analysis.

node

a numeric indicating the target node id as in ape. An alternative arg of phyto.

trees

a list of objects of class "phylo". A list of gene trees to be examined.

gdtable

a data.frame of the gd table file provided by Tree2GD.

sptree

the species tree used to do tree reconciliation.

sub_coverage

a numeric specify the species coverage level. If <= 1, treated as percentage. If > 1, treated as number of species.

max.tip

an integer specifying the max number of tips for the coverage filtering. Applied only when sub_coverage is set as percent (<= 1). Used as a cutoff for coverage as N tips as for deep nodes having large clades.

split

a character. The symbol used to separate species name and the sequence number in the gene family trees.

tree_id_tab

a table for the tree id during Tree2GD and the name of the corresponding tree file. The first column is the id, and the second column is the tree names.

up_one_node

logical. Whether to choose tips of one node deeper as the closest outgroup, as a second step of investigation. Default FALSE.

plot

whether to plot subclades. Defaults to FALSE.

pdfwid

the width of pdf file for subtrees. Default 10.

pdflen

the length of pdf file for subtrees. Default 30.

See Also

filter_GD_by_coverage


Chien-Hsun/rePhylo documentation built on May 19, 2020, 3:15 a.m.