Skip to content

Commit

Permalink
Update fig 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
emunozdc authored and emunozdc committed Jun 21, 2024
1 parent f9b2509 commit 51174aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Binary file modified examples/fig_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/pr_fig_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

p_cds = p[p["Feature"] == "CDS"]

prp.plot(p_cds, id_col="gene_name", text=False, legend=True, to_file="fig_4.png")
prp.plot(p_cds, id_col="gene_name", text=False, legend=True, to_file=("fig_4.png", (600,500)), arrow_size=0.05)
8 changes: 0 additions & 8 deletions examples/time_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
d_cds = d[d["Feature"] == feat]

# Check number of genes in each chrom
# d_cds.groupby("Chromosome").apply(
# lambda x: print(
# "CHROM:"
# + str(x["Chromosome"].iloc[0])
# + ": "
# + str(len(x.groupby("gene_id")))
# )
# )

# Chromosome subset
d_cds_chrom = d_cds[d_cds["Chromosome"] == chrom]
Expand Down

0 comments on commit 51174aa

Please sign in to comment.