Package: rBiopaxParser 2.45.0

Frank Kramer

rBiopaxParser: Parses BioPax files and represents them in R

Parses BioPAX files and represents them in R, at the moment BioPAX level 2 and level 3 are supported.

Authors:Frank Kramer

rBiopaxParser_2.45.0.tar.gz
rBiopaxParser_2.45.0.zip(r-4.5)rBiopaxParser_2.45.0.zip(r-4.4)rBiopaxParser_2.45.0.zip(r-4.3)
rBiopaxParser_2.45.0.tgz(r-4.4-any)rBiopaxParser_2.45.0.tgz(r-4.3-any)
rBiopaxParser_2.45.0.tar.gz(r-4.5-noble)rBiopaxParser_2.45.0.tar.gz(r-4.4-noble)
rBiopaxParser_2.45.0.tgz(r-4.4-emscripten)rBiopaxParser_2.45.0.tgz(r-4.3-emscripten)
rBiopaxParser.pdf |rBiopaxParser.html
rBiopaxParser/json (API)
NEWS

# Install 'rBiopaxParser' in R:
install.packages('rBiopaxParser', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/frankkramer-lab/rbiopaxparser/issues

Datasets:

On BioConductor:rBiopaxParser-2.45.0(bioc 3.20)rBiopaxParser-2.44.0(bioc 3.19)

bioconductor-package

55 exports 2.22 score 2 dependencies 7 mentions

Last updated 2 months agofrom:2fec4acb26

Exports:addBiochemicalReactionaddBiopaxInstanceaddBiopaxInstancesaddControladdPathwayaddPathwayComponentsaddPhysicalEntityaddPhysicalEntityParticipantaddPropertiesToBiopaxInstancecalcGraphOverlapCLASS_INHERITANCE_BP2CLASS_INHERITANCE_BP3CLASS_PROPERTIES_BP2CLASS_PROPERTIES_BP3colorGraphNodescombineNodescreateBiopaxDATABASE_BIOPAXdiffGraphsdownloadBiopaxDatagenerateNewUniqueIDgetClassPropertiesgetInstanceClassgetInstancePropertygetNeighborhoodgetReferencedIDsgetReferencingIDsgetSubClassesgetSuperClassesgetXrefAnnotationshasPropertyintersectGraphsisOfClasslayoutRegulatoryGraphlistComplexComponentslistInstanceslistInteractionComponentslistPathwayComponentslistPathwaysmergePathwayspathway2AdjacancyMatrixpathway2Genesetpathway2Graphpathway2RegulatoryGraphplotRegulatoryGraphreadBiopaxremoveInstanceremoveNodesremovePropertiesselectInstancessplitComplextransitiveClosuretransitiveReductionuniteGraphswriteBiopax

Dependencies:data.tableXML

rBiopaxParser Vignette

Rendered fromrBiopaxParserVignette.Rnwusingutils::Sweaveon Jul 03 2024.

Last update: 2020-07-15
Started: 2013-11-01

Readme and manuals

Help Manual

Help pageTopics
Parses BioPax level files and represents them in RrBiopaxParser-package rBiopaxParser
This function adds a new biochemical reaction to the biopax model.addBiochemicalReaction
This function adds a new instance to an existing biopax model.addBiopaxInstance
This function adds new instances to an existing biopax model.addBiopaxInstances
This function adds a new control to the biopax model.addControl
Adds a hash in front of a stringaddhash
Add a namespace tag to the supplied classname stringaddns
This function adds a new pathway to the biopax model.addPathway
This function adds pathway components to an existing pathwayaddPathwayComponents
This function adds a new physical entity.addPhysicalEntity
This function adds a new physical entity participant.addPhysicalEntityParticipant
This function adds new properties to an existing biopax instance.addPropertiesToBiopaxInstance
Biopax example data setbiopax biopaxexample biopaxLevel3Example
This function calculates the overlap of 2 graphscalcGraphOverlap
This function checks the supplied biopax model for validity.checkValidity
CLASS_INHERITANCE_BP2CLASS_INHERITANCE_BP2
CLASS_INHERITANCE_BP3CLASS_INHERITANCE_BP3
CLASS_PROPERTIES_BP2CLASS_PROPERTIES_BP2
CLASS_PROPERTIES_BP3CLASS_PROPERTIES_BP3
This function colors the nodes of a graph.colorGraphNodes
This function gracefully combines nodes of a regulatory graph.combineNodes
This function creates a new Biopax model from scratchcreateBiopax
DATABASE_BIOPAXDATABASE_BIOPAX
This function returns the different nodes and edges between graph1 and graph2.diffGraphs
This function downloads Biopax data from online databasesdownloadBiopaxData
This function generates a new unique id for a biopax modelgenerateNewUniqueID
This function returns the properties of the supplied biopax class.getClassProperties
This function returns the class name of the instance.getInstanceClass
This function returns all properties of the specified type for an instance.getInstanceProperty
This function returns the neighborhood of a physicalEntitygetNeighborhood
This function is used internally by pathway2Graph to obtain physical entities participating in an interaction.getParticipants
This function returns a vector of ids of all instances referenced by the specified instance.getReferencedIDs
This function returns a vector of ids of all instances that reference the supplied id.getReferencingIDs
This function returns the subclasses of the supplied biopax class.getSubClasses
This function returns the superclasses of the supplied biopax class.getSuperClasses
This function returns the annotations of the supplied instances.getXrefAnnotations
Checks if instances in the biopax data.table have a given propertyhasProperty
This function checks the supplied arguments if they abid to the given restrictionsinternal_checkArguments
This function generates the xmlTree from the supplied biopax model.internal_generateXMLfromBiopax
This internal function parses the Biopax XML of the supplied biopax model and returns it in the data.frame format.internal_getBiopaxModelAsDataFrame
This function is an internal function to count the Number of nodes and child nodes of an XMLNode.internal_NrOfXMLNodes
Internal function to build a data.frame from the list of properties for a new instanceinternal_propertyListToDF
This function resolves physicalEntityParticipantIDs to their corresponding physicalEntityIDsinternal_resolvePhysicalEntityParticipant
This function is an internal function that parses a Biopax XMLNode.internal_XMLInstance2DF
This function returns a graph computed by the insection of supplied graph1 and graph2.intersectGraphs
Checks if instances in the biopax data.table are of the given classisOfClass
Check if a classname is preceeded by a certain namespace tag like in "namespace:classname"isOfNamespace
Check if a string is an URL, preceeded by "http:"isURL
This function generates a (more or less) beautiful layout for a regulatory graph.layoutRegulatoryGraph
This function lists all components of a given complex.listComplexComponents
Lists all instances that conform to the selection criteria.listInstances
This function lists all components of a given interaction.listInteractionComponents
This function lists all pathway components of a given pathway.listPathwayComponents
This function returns a list of all pathway ids.listPathways
This function merges two given pathwaysmergePathways
This function generates an adjacency matrix from the activations/inhibitions of a pathway in a biopax model. This function internally first calls pathway2RegulatoryGraph, then converts the regulatory graph to an adjacency matrix. See pathway2RegulatoryGraph for more details.pathway2AdjacancyMatrix
This function generates the gene set of a pathway. This function generates a gene set of all physicalEntity's of a pathway. First all interactions of the pathway are retrieved and all components of these interactions are then listed.pathway2Geneset
This function generates a directed graph from all the interactions of a specified pathway in a biopax model. Edges with no direction are indicated by a 0 weight.pathway2Graph
This function generates the regulatory graph from the activations/inhibitions of a pathway in a biopax model. This functions builds a graph from the pathway components of the supplied pathway. Only instances of class 'control' are considered, this leads a functinal graph with all edges either representing activations or inhibitions. No transports, no translocation, etc. If desired complexes can be split up into several nodes, this can sometimes lead to a more complex and cluttered graph. There can not be multiple edges between 2 nodes. Whenever duplicated edges are generated (especially by splitting up complexes) a warning is thrown.pathway2RegulatoryGraph
This function layouts a regulatory graph and plots it using Rgraphviz.plotRegulatoryGraph
Print a biopax object.print.biopax
This function reads in a Biopax .owl filereadBiopax
This function is used internally by pathway2Graph to remove the smaller disconnected parts of the pathway graph.removeDisconnectedParts
This function removes an instanceremoveInstance
This function gracefully removes nodes from a regulatory graph.removeNodes
This function removes a propertyremoveProperties
Returns all instances that conform to the selection criteria.selectInstances
This functions splits up a complex into its components.splitComplex
Strips a hash in front of a stringstriphash
Strips a namespace tag off a supplied classname stringstripns
This function generates the transitive closure of the supplied graph.transitiveClosure
This function generates the transitive reduction of the supplied graph.transitiveReduction
Replace factors/levels in a data.frame and use plain strings insteadunfactorize
This function unites two graphs.uniteGraphs
This function writes out a biopax model.writeBiopax