Chromatin functions
- prody.chromatin.functions.getDomainList(labels)[source]
Returns a list of domain separations. The list has two columns: the first is for the domain starts and the second is for the domain ends.
- prody.chromatin.functions.showDomains(domains, linespec='-', **kwargs)[source]
A convenient function that can be used to visualize Hi-C structural domains. kwargs will be passed to
matplotlib.pyplot.plot().- Parameters:
domains (
numpy.ndarray) – a 2D array of Hi-C domains, such as [[start1, end1], [start2, end2], …].
- prody.chromatin.functions.showEmbedding(modes, labels=None, trace=True, headtail=True, cmap='prism')[source]
Visualizes Laplacian embedding of Hi-C data.
- Parameters:
modes – modes in which loci are embedded. It can only have 2 or 3 modes for the purpose
of visualization. :type modes:
ModeSet- Parameters:
of the sequence respectively. :type headtail: bool
- Parameters:
cmap (str) – the color map used to render the labels.