Skip to content

Commit ab2aa36

Browse files
committed
ENH update supp fig4 upset plot
1 parent bd0a8f1 commit ab2aa36

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Manuscript_analysis/Supp figure4.ipynb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,23 @@
145145
"ax.spines['top'].set_visible(False)\n",
146146
"ax.spines['right'].set_visible(False)"
147147
]
148+
},
149+
{
150+
"cell_type": "code",
151+
"execution_count": null,
152+
"metadata": {},
153+
"outputs": [],
154+
"source": [
155+
"## data is too large to show here\n",
156+
"#from upsetplot import UpSet\n",
157+
"#from upsetplot import from_indicators\n",
158+
"\n",
159+
"#df = pd.read_csv('100AA_quality.tsv',sep = \"\\t\")\n",
160+
"#df = df.replace(\"T\",True).replace(\"F\",False).replace(\"NA\",False)\n",
161+
"#fig = plt.figure()\n",
162+
"#pltDict = UpSet(from_indicators(['RNAcode','AntiFam','metaProteome','(meta)Riboseq','Terminal checking','metaTranscriptome'],df),sort_by='cardinality',min_subset_size=300000,facecolor='#1b9e77').plot(fig)\n",
163+
"#fig.savefig('100AA_upset.svg')"
164+
]
148165
}
149166
],
150167
"metadata": {

0 commit comments

Comments
 (0)