Fixed layoutDaylight ave_change calculation.
Fixed bug in getTreeArcAngles() for cases where the branch root node and origin node are the same.
Added getNodeEuclDistances() function.
Fixed isTip() function to check if nodes has children, instead of checking of the data variable had the isTip field set.
... | ... |
@@ -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 |
+ |