get.proPhy: Merges 'pro.df' with 'tree.phy' to add annotations from...

View source: R/get.proPhy.R

get.proPhyR Documentation

Merges 'pro.df' with 'tree.phy' to add annotations from palmDB to the phylogenetic tree object. Returns a data frame containing tree tip labels and palmDB columns

Description

Merges 'pro.df' with 'tree.phy' to add annotations from palmDB to the phylogenetic tree object. Returns a data frame containing tree tip labels and palmDB columns

Usage

get.proPhy(pro.df, tree.phy)

Arguments

pro.df

data.frame, imported diamond pro df. use get.pro()

tree.phy

phylo object. use ggtree::read.tree

Value

tree.df data.frame

Examples


## Prepare data
# data("waxsys.pro.df")
# data("waxsys.tree.phy")

## Generate tree data frame
# tree.df <- get.proPhy(waxsys.pro.df, waxsys.tree.phy)



ababaian/palmid documentation built on July 1, 2023, 1:09 a.m.