r3fang / SnapATAC

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

Error in Integrative Analysis of 10X and snATAC Step 3 #166

Open yjchen1201 opened 4 years ago

yjchen1201 commented 4 years ago

Hello! In your step 3, Add cell-by-bin matrix, the code is: x.sp.list = lapply(seq(x.sp.list), function(i){x.sp = addBmatToSnap(x.sp.list[[i]], bin.size=5000);x.sp}) However, it says: Error: object 'x.sp.list' not found should it be: x.sp.list = lapply(seq(x.sp.ls), function(i){x.sp = addBmatToSnap(x.sp.ls[[i]], bin.size=5000);x.sp}) change x.sp.list to x.sp.ls? Thanks!