Skip to content

Commit

Permalink
fix issue #88
Browse files Browse the repository at this point in the history
  • Loading branch information
daijiang committed Jul 7, 2023
1 parent a033093 commit 3b49dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pglmm_compare.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ pglmm_compare <- function(formula, family = "gaussian",

if(any(sp != phy$tip.label)){
warning("\nThe data rows are resorted to match phy$tip.label")
data <- data[match(sp, phy$tip.label),]
data <- data[match(phy$tip.label, sp),]
}

Vphy <- ape::vcv(phy)
Expand Down

0 comments on commit 3b49dda

Please sign in to comment.