Open haibol2016 opened 2 years ago
There is a bug in https://github.com/jianhong/cleanUpdTSeq/blob/21adecab9138ff9d0c7874b45edb98ecb528a8b0/R/03.buildFeatureVector.R#L141. This line causes a problem when there is only one GRange provided by the argument peaks.
peaks
baseOnly = TRUE)[, -5])
should be changed to
baseOnly = TRUE)[, -5, drop = FALSE])
There is a bug in https://github.com/jianhong/cleanUpdTSeq/blob/21adecab9138ff9d0c7874b45edb98ecb528a8b0/R/03.buildFeatureVector.R#L141. This line causes a problem when there is only one GRange provided by the argument
peaks
.should be changed to