HeatMap(refDFset, otherDFsets, hardcopy=False, outfile=None, force=False, **kwargs)
Visualize IMC convergence by drawing an interaction-specific RDF deviation HeatMap
Each line represents an interactions and columns represent the iterations.
Reported numbers are distances between the reference RDF and corresponding sampled RDF for the particular interaction.
- Parameters:
-
- refDFset
- Reference RDFs
- otherDFsets
- list of RDFs sampled at different IMC iterations
- hardcopy
- If to save the plot to png-file
- outfile
- File to save the plot
- force
- Produce the heatmap even if elements of otherDFset do not match refDFset
- **kwargs
- Keyword arguments to pass to Seaborn.heatmap()-backend
Examples:
[fontsize=\small]
rdfs = MT.ReadMagiC('01.magic.out', quiet=True) # Read the list of sampled DFsets
rdf_ref = MT.ReadRDF('1DNA-K.full.rdf', quiet=True) # Read the reference DFset
MT.HeatMap(rdf_ref, rdfs, annot=True, hardcopy=True, outfile="1DNA-K.full.rdf.eps")