clean up code

guangchuang yu authored on 14/12/2017 08:47:21
Showing 1 changed files
 ... ... @@ -1,5 +1,5 @@ 1 1  % Generated by roxygen2: do not edit by hand 2 -% Please edit documentation in R/tidytree.R 2 +% Please edit documentation in R/tree-utilities.R 3 3  \name{getSubtreeUnrooted.df} 4 4  \alias{getSubtreeUnrooted.df} 5 5  \title{getSubtreeUnrooted}

Added revised geom_hilight_encircle() function to highlight clades of unrooted trees.

Fixed layoutDaylight ave_change calculation.

Fixed bug in getTreeArcAngles() for cases where the branch root node and origin node are the same.

 ... ... @@ -2,7 +2,7 @@ 2 2  % Please edit documentation in R/tidytree.R 3 3  \name{getSubtreeUnrooted.df} 4 4  \alias{getSubtreeUnrooted.df} 5 -\title{GetSubtreeUnrooted} 5 +\title{getSubtreeUnrooted} 6 6  \usage{ 7 7  getSubtreeUnrooted.df(df, node) 8 8  } ... ... @@ -18,4 +18,3 @@ named list of subtrees with the root id of subtree and list of node id's making 18 18  Get all subtrees of node, as well as remaining branches of parent (ie, rest of tree structure as subtree) 19 19  return named list of subtrees with list name as starting node id. 20 20  } 21 -
 1 1 new file mode 100644 ... ... @@ -0,0 +1,21 @@ 1 +% Generated by roxygen2: do not edit by hand 2 +% Please edit documentation in R/tidytree.R 3 +\name{getSubtreeUnrooted.df} 4 +\alias{getSubtreeUnrooted.df} 5 +\title{GetSubtreeUnrooted} 6 +\usage{ 7 +getSubtreeUnrooted.df(df, node) 8 +} 9 +\arguments{ 10 +\item{df}{tree data.frame} 11 + 12 +\item{node}{is the tree node id from which the subtrees are derived.} 13 +} 14 +\value{ 15 +named list of subtrees with the root id of subtree and list of node id's making up subtree. 16 +} 17 +\description{ 18 +Get all subtrees of node, as well as remaining branches of parent (ie, rest of tree structure as subtree) 19 +return named list of subtrees with list name as starting node id. 20 +} 21 +