File tree 4 files changed +13
-1
lines changed
4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ License: Artistic-2.0
34
34
URL: https://www.amazon.com/Integration-Manipulation-Visualization-Phylogenetic-Computational-ebook/dp/B0B5NLZR1Z/
35
35
BugReports: https://github.com/YuLab-SMU/tidytree/issues
36
36
Encoding: UTF-8
37
- RoxygenNote: 7.3.0
37
+ RoxygenNote: 7.3.1
38
38
Roxygen: list(markdown = TRUE)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ S3method(Nnode,tbl_tree)
15
15
S3method(Nnode,treedata)
16
16
S3method(Ntip,tbl_tree)
17
17
S3method(Ntip,treedata)
18
+ S3method(Ntip,treedataList)
18
19
S3method(ancestor,phylo)
19
20
S3method(ancestor,tbl_tree)
20
21
S3method(ancestor,treedata)
Original file line number Diff line number Diff line change
1
+ # tidytree 0.4.6.001
2
+
3
+ + ` Ntip() ` method for 'treedataList' object (2024-04-08, Mon)
4
+
1
5
# tidytree 0.4.6
2
6
3
7
+ import ` methods::setClassUnion() ` to fix R check (2023-12-12, Tue)
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ Ntip.treedata <- function(phy) {
42
42
Ntip(as.phylo(phy ))
43
43
}
44
44
45
+ # #' @method Ntip treedataList
46
+ # #' @importFrom ape Ntip
47
+ # #' @export
48
+ Ntip.treedataList <- function (phy ) {
49
+ Ntip(phy [[1 ]])
50
+ }
51
+
45
52
# #' number of nodes
46
53
# #'
47
54
# #'
You can’t perform that action at this time.
0 commit comments