r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
301 stars 125 forks source link

error ‘rBind’ in addBmatToSnap #236

Closed ifyouaresober closed 3 years ago

ifyouaresober commented 3 years ago

I met the error :'rBind' is defunct. Since R version 3.2.0, base's rbind() should work fine with S4 objects when I ran addBmatToSnap. I try to change 'rBind' to 'rbind' in the code of 'addBmatToSnap' with edit(addBmatToSnap), while the 'addBmatToSnap' function shows 'UseMethod("addBmatToSnap", obj)' only.

ifyouaresober commented 3 years ago

I have found the source code in snap-utilities.R and have changed the 'rBind' to rbind. So this error is solved