Skip to content

Code for regulator/moonlighter plots #51

Answered by ri23
npokorzynski asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @npokorzynski

Here is the Python script to plot the regulator and moonlighter scatter plots. I have added the script on the tutorial website as well in the visualization section 5: https://churchman.med.harvard.edu/genewalk/#tutorial

import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
plt.rcParams['pdf.fonttype'] = 42 #embed fonts into pdf figure
import seaborn as sns


# ### Load GeneWalk scatterplots file

project_folder = '/home/genewalk/qki/'   

filename = 'genewalk_scatterplots.csv'
scatter_data = pd.read_csv(os.path.join(project_folder,'figures',filename)) 


# ### Regulator and Moonlighting plot functions
# - If necessary customize plot sizes, plot …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ri23
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #49 on April 19, 2021 20:47.