pcGraph {FindMyFriends} | R Documentation |
This method creates a graph representation of the panchromosome - The complete set of gene groups linked together by chromosomal position. Each vertice in the graph represent a gene group and each edge represent a positional relation between two gene groups (neighboring each other). Vertices are annotated with number of genes, organism names and strand while edges are annotated with numer of genes (as weight), and organism names.
pcGraph(object, ...) ## S4 method for signature 'pgVirtualLoc' pcGraph(object, slim = FALSE)
object |
A pgVirtualLoc subclass |
... |
parameters passed on |
slim |
Should the returned graph be stripped of all metadata and only capture gene group connectivity. Defaults to FALSE |
An igraph object
pgVirtualLoc
: Panchromosome creation for all pgVirtualLoc subclasses
testPG <- .loadPgExample(geneLoc=TRUE, withNeighborhoodSplit=TRUE) panchromosome <- pcGraph(testPG)