IMP logo
IMP Reference Guide  2.6.0
The Integrative Modeling Platform
IMP.pmi.plotting.topology.TopologyPlot Class Reference

A class to read RMF files and make a network contact map. More...

Inherits object.

Detailed Description

A class to read RMF files and make a network contact map.

Note
This class is only available in Python.

Definition at line 13 of file topology.py.

Public Member Functions

def __init__
 Set up a new graphXL object. More...
 
def add_rmf
 Add selections from an RMF file. More...
 
def make_plot
 plot the interaction matrix More...
 

Constructor & Destructor Documentation

def IMP.pmi.plotting.topology.TopologyPlot.__init__ (   self,
  model,
  selections,
  cutoff,
  frequency_cutoff,
  colors = None,
  fixed = None,
  pos = None,
  proteomic_edges = None,
  quantitative_proteomic_data = None 
)

Set up a new graphXL object.

Parameters
modelThe IMP model
selection_dictA dictionary containing component names. Keys are labels values are either moleculename or start,stop,moleculename
cutoffThe distance cutoff
frequency_cutoffThe frequency cutoff
colorsA dictionary of colors (HEX code,values) for subunits (keywords)
fixedA list of subunits that are kept fixed
posA dictionary with positions (tuple, values) of subunits (keywords)
proteomic_edgesA list edges to represent proteomic data
quantitative_proteomic_dataA dictionary of edges to represent quantitative proteomic data such as PE Scores, or genetic interactions

Definition at line 27 of file topology.py.

Member Function Documentation

def IMP.pmi.plotting.topology.TopologyPlot.add_rmf (   self,
  rmf_fn,
  nframe 
)

Add selections from an RMF file.

Definition at line 51 of file topology.py.

def IMP.pmi.plotting.topology.TopologyPlot.make_plot (   self,
  groups,
  out_fn,
  quantitative_proteomic_data = False 
)

plot the interaction matrix

Parameters
groupsis the list of groups of domains, eg, [["protA_1-10","prot1A_11-100"],["protB"]....] it will plot a space between different groups
out_fnname of the plot file
quantitative_proteomic_dataplot the quantitative proteomic data

Definition at line 93 of file topology.py.


The documentation for this class was generated from the following file: