When I re-add the cell-by-bin matrix to the snap object:
x.sp = addBmatToSnap(x.sp, bin.size = 1000)
I get the error:
Error in addBmatToSnap.default(x.sp, bin.size = 1000) :
bins does not match between snap files, please regenerate the cell-by-bin matrix by snaptools
This is despite all the 6 individual snap files having the same bin sizes:
Hi, I am combining 6 snap objects. I have combined the objects using common bins to create a snap object in R, x.sp I then went to step 9 in your R vignette - https://github.com/r3fang/SnapATAC/blob/master/examples/10X_brain_5k/README.md#gene_tsne
When I re-add the cell-by-bin matrix to the snap object: x.sp = addBmatToSnap(x.sp, bin.size = 1000)
I get the error: Error in addBmatToSnap.default(x.sp, bin.size = 1000) : bins does not match between snap files, please regenerate the cell-by-bin matrix by snaptools
This is despite all the 6 individual snap files having the same bin sizes:
Not sure why i am getting this error. I have alot of memory on my system for this step. Is bin size too small and will not compute?
Thanks AM