| as.networx-methods | R Documentation |
networx objectThis function coerces Parsimnet object to networx {phangorn} object .
## S4 method for signature 'Parsimnet'
as.networx(x,net=1,...)
x |
an object of class |
net |
a numeric vector of length one indicating which network to convert. |
... |
additional arguments to |
an object of class networx.
signature(x = "Parsimnet")coerces a Parsimnet object to a networx object.
## Coercing a Parsimnet object to a networx object.
data("dna.obj")
x<-dna.obj
p<-parsimnet(x)
nx<-as.networx(p)
plot(nx, "2D")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.