internal_nodes_physent<-
function(biopax){
#' @keywords internal
######################## physical entities and node df
node_physent_classes<-
c("Pathway"
,"Protein"
,"Complex"
,"SmallMolecule"
,"PhysicalEntity"
,"RNA"
,"DNA"
)
#physical entity nodes with names
physent_nodes<-
biopax$dt[class %in% node_physent_classes &
property_value!=""
,.(label=paste(property_value
,collapse="\n")
,type=class)
,by=id] %>%
unique
return(physent_nodes)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.