...
[ reached getOption("max.print") -- omitted 4 rows ]
[1] "create DEG_list object is over"
[1] "the number of origin gene is 27781"
[1] "the number of gene (after filtering) is 17256"
Error in newCountDataSet(countData = de$filterCounts, conditions = condition) :
could not find function "...
...tree="(chicken,((mouse,rat),(chimp,human)));"
names=re.findall(r"[a-zA-Z0-9_]+",tree)
f=open("newtree.nwk","w")
for i in names:
if not re.match(r'\d+$',i):
tree=tree.replace(i,i+"#1")
f.write(tree+"\n")
f.close()
perl实现替换:
$tree="(chicken,((mouse,rat),(chimp,huma...