Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
DomBennett committed Apr 14, 2016
1 parent 17cf558 commit ec4f677
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion R/get-methods.R
Expand Up @@ -332,7 +332,7 @@ getPrnt <- function(tree, ids) {
#' # what's the phylogenetic distance from humans to gorillas?
#' ape_id <- getPrnt(mammals, ids=c('Homo_sapiens', 'Hylobates_concolor'))
#' pth <- getPath(mammals, from='Homo_sapiens', to='Gorilla_gorilla')
#' sum(getNdsSlt(mammals, ids=pth, name='spn'))
#' sum(getNdsSlt(mammals, ids=pth, slt_nm='spn'))
getPath <- function(tree, from, to) {
pre_1 <- c(from, getNdPrid(tree, from))
pre_2 <- c(to, getNdPrid(tree, to))
Expand Down
2 changes: 0 additions & 2 deletions R/manip-methods.R
@@ -1,6 +1,4 @@
# TODO: mergeTree, collapseNode, removeNode
# TODO: add doc for adding and removing tips

#' @name rmTip
#' @title Remove tip from a tree
#' @description Returns a tree with a tip ID remove
Expand Down

0 comments on commit ec4f677

Please sign in to comment.