2e19f878707e04da7d9a4ccbe0cceb515b433124,dragonn/vis/__init__.py,,plot_ism,#,12
Before Change
def plot_ism(ism_mat,title,vmin=None,vmax=None):
// create discrete colormap of ISM scores
extent = [0, ism_mat.shape[0], 0, 100*ism_mat.shape[1]]
plt.figure(figsize=(20,3))
if vmin==None:
vmin=np.amin(ism_mat)
if vmax==None:
After Change
ymax=np.amax(ism_mat)
axes[1].imshow(ism_mat.T,extent=extent,vmin=ymin, vmax=ymax, interpolation="nearest",aspect="auto")
axes[1].set_xlabel("Sequence base")
axes[1].set_ylabel("ISM Score")
axes[1].set_title(title)
axes[1].set_yticks(np.arange(50,100*ism_mat.shape[1],100),("A","C","G","T"))
plt.set_cmap("RdBu")
plt.tight_layout()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: kundajelab/dragonn
Commit Name: 2e19f878707e04da7d9a4ccbe0cceb515b433124
Time: 2019-04-30
Author: annashcherbina@gmail.com
File Name: dragonn/vis/__init__.py
Class Name:
Method Name: plot_ism
Project Name: amueller/mglearn
Commit Name: 92de7a68b58af738be28771e6336d04986e61312
Time: 2018-10-17
Author: andreas.mueller@columbia.edu
File Name: mglearn/plot_interactive_tree.py
Class Name:
Method Name: plot_tree_progressive
Project Name: neurodsp-tools/neurodsp
Commit Name: 5196910e726c04648f5cffae5f50ecd3171539ce
Time: 2019-03-17
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/filt.py
Class Name:
Method Name: plot_frequency_response
Project Name: neurodsp-tools/neurodsp
Commit Name: 858b460aeab7d80e6d67da022ccca1cf11efe89a
Time: 2020-06-14
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/spectral.py
Class Name:
Method Name: plot_scv_rs_matrix