Description
在 R/GuitarPlot.R 第88-95行和97-104行中存在完全重复的代码块:
xmin = componentStructure[comp, "start"]
xmax = componentStructure[comp, "end"]
ymin = pos$rna_lgd_bl - componentStructure[comp, "lgd_height"]
ymax = pos$rna_lgd_bl + componentStructure[comp, "lgd_height"]
alpha = componentStructure[comp, "alpha"]
p <- p + annotate("rect", xmin = xmin, xmax = xmax, ymin = ymin, ymax = ymax, alpha = alpha, colour = "black")
这段代码在同一个for循环中连续出现两次,应该删除重复部分。
Impact
Suggested Fix
删除第97-104行的重复代码块。
File
R/GuitarPlot.R lines 88-104
Description
在
R/GuitarPlot.R第88-95行和97-104行中存在完全重复的代码块:这段代码在同一个for循环中连续出现两次,应该删除重复部分。
Impact
Suggested Fix
删除第97-104行的重复代码块。
File
R/GuitarPlot.Rlines 88-104