ape::dnds produces nan value
0
0
Entering edit mode
Working • 0
@22a915df
Last seen 16 months ago
Hong Kong

Enter the body of text here

Code should be placed in three backticks as shown below


CA <- msa(CA,method = "Muscle")
CA <- msa::msaConvert(CA,"ape::DNAbin")
class(CA) <- "matrix"
CA <- as.DNAbin(CA)
a <- dnds(CA)

Warning in log(a) : NaNs produced
Warning in log(a) : NaNs produced
Warning in log(a) : NaNs produced
Warning in log(a) : NaNs produced
Warning in log(a) : NaNs produced
R ape dnds nan nanotubes • 701 views
ADD COMMENT
0
Entering edit mode

You are seeing warnings. example(dnds) also produces NaNs. Warnings can occur when the input data don't conform to expectations of the software. What exactly do you want help with?

ADD REPLY
0
Entering edit mode

What criteria should the input object meet to keep the software from generating Nans?

ADD REPLY

Login before adding your answer.

Traffic: 451 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6