EvoWeb | R Documentation |
EvoWeb objects are outputted from predict.EvoWeaver
.
This class wraps the simMat
object with some other diagnostic
information intended to help interpret the output of EvoWeaver
predictions..
An object of class "EvoWeb"
, which inherits from "simMat"
.
predict.EvoWeaver
returns a EvoWeb
object, which bundles some methods
to make formatting and printing of results slightly nicer. This currently
only implements a plot
function, but future functionality is in the works.
Aidan Lakshman ahl27@pitt.edu
predict.EvoWeaver
simMat
plot.EvoWeb
##############
## Prediction with built-in model and data
###############
exData <- get(data("ExampleStreptomycesData"))
# Subset isn't necessary but is faster for a working example
ew <- EvoWeaver(exData$Genes[1:10])
evoweb <- predict(ew, Method='ExtantJaccard')
# print out results as an adjacency matrix
print(evoweb)
# print out results as a pairwise data.frame
as.data.frame(evoweb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.