SnapATAC
SnapATAC copied to clipboard
multiple samples analysis: how to merge barcode files?
In FAQ it writes the following codes to start multiple samples analysis:
> file.list = c("atac_v1_pbmc_5k.snap", "atac_v1_pbmc_10k.snap");
> sample.list = c("pbmc.5k", "pbmc.10k");
> x.sp = createSnap(file=file.list, sample=sample.list);
However the next step is barcode:
> barcodes = read.csv(
"atac_v1_pbmc_5k_singlecell.csv",
head=TRUE
);
Since I'll have two separated barcode files called atac_v1_pbmc_5k_singlecell.csv
and atac_v1_pbmc_10k_singlecell.csv`, How to deal with them?
same need!
I guess it might be possible to follow https://github.com/r3fang/SnapATAC/blob/master/examples/10X_PBMC_15K/README.md
However still hope author's comments, since the 10X_PBMC_15K example is slightly different from the FAQ