Skip to content

Commit

Permalink
change font size
Browse files Browse the repository at this point in the history
  • Loading branch information
hopedisastro committed Oct 14, 2024
1 parent 6b1ad6f commit 685154e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions str/associatr/plotters/qqplotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
qqplotter.py \
--input-dir=gs://cpg-bioheart-test/str/associatr/tob_n1055_and_bioheart_n990/DL_random_model/raw_pval_extractor \
--cell-types=CD4_TCM,CD4_Naive,CD4_TEM,CD4_CTL,CD4_Proliferating,CD4_TCM_permuted,NK,NK_CD56bright,NK_Proliferating,CD8_TEM,CD8_TCM,CD8_Proliferating,CD8_Naive,Treg,B_naive,B_memory,B_intermediate,Plasmablast,CD14_Mono,CD16_Mono,cDC1,cDC2,pDC,dnT,gdT,MAIT,ASDC,HSPC,ILC \
--title='associaTR BioHEART' --ylim=330
--title='associaTR BioHEART' --ylim=308
"""
Expand Down Expand Up @@ -80,8 +80,8 @@ def main(input_dir, cell_types, title, ylim):
}

# Create QQ plot
plt.figure(figsize=(10, 8))
fig, ax = plt.subplots(figsize=(10, 8))
plt.figure(figsize=(10, 6))
fig, ax = plt.subplots(figsize=(10, 6))

# Define a list of colors
colors = [
Expand Down Expand Up @@ -154,11 +154,11 @@ def main(input_dir, cell_types, title, ylim):
# Create the main legend with other items
ax.legend(other_handles, other_labels, bbox_to_anchor=(1.05, 1), loc='upper left', fontsize=11)

ax.set_xlabel('Expected -log₁₀(p-value)', fontsize=14)
ax.set_ylabel('Expected -log₁₀(p-value)', fontsize=14)
ax.set_xlabel('Expected -log₁₀(p-value)', fontsize=17)
ax.set_ylabel('Expected -log₁₀(p-value)', fontsize=17)

plt.xticks(fontsize=10)
plt.yticks(fontsize=10)
plt.xticks(fontsize=15)
plt.yticks(fontsize=15)
ax.set_ylim(0, ylim)

ax.plot([0, 7], [0, 7], color='grey', linestyle='--') # Add a reference line
Expand Down

0 comments on commit 685154e

Please sign in to comment.