nclark-lab / RERconverge

Analysis of convergence between organismal traits and DNA/protein sequences
GNU General Public License v3.0
46 stars 26 forks source link

'masterTree' not found in SSM permulations #69

Closed ekopania closed 2 years ago

ekopania commented 2 years ago

I am running permulations using the SSM mode and am getting the following error in getPermsBinary():

Error in lapply(trees_list, getSpeciesMembershipStats, masterTree = masterTree, : object 'masterTree' not found Calls: getPermsBinary -> lapply -> FUN

Should line 285 of PermulationFuncs.R be changed to: df.list = lapply(trees_list,getSpeciesMembershipStats,masterTree=mastertree,foregrounds=fg_vec) since the variable name in the function declaration is 'mastertree'?

Thank you!