Open niexiaoqing opened 6 months ago
i set bin.size 500Mb,the picture dosen‘t look right
It's difficult to see if the plot is right or not based on the picture you attached, since the color you set is not pretty distinguishable. Could you please copy and paste your running codes here?
我之前以为是把染色体按照bin划分,一个bin一种颜色,这个颜色和SNP数量有关。目前看起来好像不是这样的,一个bin里有两种颜色(前景和背景)。
CMplot(temp, plot.type = "d", bin.size = 1e8, main="100Mb",file.name="1e8")
你描述的是对的,一个bin里面的SNP用相同的颜色着色,颜色与bin中标记数量一一对应,上图也正是这样的效果,你设置的是100Mb,比如你看每条染色体的0-100Mb中的SNP用的都是一个颜色,完全符合预期;背景色不能设置颜色,不然无法展示标记在基因组上的覆盖程度