potential bug in estimateTechnicalNoise
Issue #75
new
I ran into this error message when running ChicagoPipeline (current version on bitbucket):
"..Error in [.data.table
(cd@x, , { :
Column 1 of result for group 2 is type 'integer' but expecting type 'double'. Column types must be consistent for each group."
Line 1372-1390 seemed to cause the problem. See this thread for detail: https://stackoverflow.com/questions/12125364/why-does-median-trip-up-data-table-integer-versus-double
Using as.double() to convert numPairs and nTrans fixed the problem.
PS: my chinput was generated by bam2chicago (but I made sure it followed the format requirement), so not sure if this error will occur if people use bam2chicago.