xie186 / ViewBS

ViewBS - a powerful toolkit for visualization of high-throughput bisulfite sequencing data
GNU General Public License v3.0
81 stars 27 forks source link

Fix the the inconsistence of the y-axis title #32

Closed lileiting closed 5 years ago

lileiting commented 5 years ago

The y-axis title is "Non conversion rate (%)", which indicates that the data were percentage. However, the calculation of "BisNonConvRate" (See: https://github.com/xie186/ViewBS/blob/eb54dfdb45bfc90441ec86a3b6d3dcefac64544d/lib/Meth/BisNonConvRate.pm#L85) was ratio (C_number / Total_Depth), rather than percentage (C_number / Total_Depth*100). Therefore, here we could calculate the percentage of "BisNonConvRate" on the fly.