Nothing
#' @include treeharp.R th_getter-length.R
NULL
#' TreeHarp Cast a TreeHarp to Matrix.
#'
#' Convert a treeharp object to an adjacency matrix.
#'
#' @param from A treeharp object.
#'
#' @name as.matrix
#' @return A matrix.
#'
setAs("TreeHarp", "matrix",
function(from) {
mat <- adj_list_2_matrix(from@adjList)
mat
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.