Entering edit mode
6.0 years ago
Za
▴
140
Hi,
I have a file includes read counts in single cell-seq and a file includes barcodes and number of cells
head(sample_barcodes[,1:2])
Sample Barcode
1 sc1-1 CCTAGATTAAT
2 sc1-2 GAAGACTTGGT
3 sc1-3 GAAGCAGTATG
4 sc1-4 GGTAACCTGAC
5 s1-5 ATAGTTCTCGT
6 sc1-6 TCGTTACCAAG
> head(counts[,1:4])
DDB_G0267178 DDB_G0267180 DDB_G0267182 DDB_G0267184
Barcode "0.0" "0.0" "0.0" "0.0"
AACCAACCAAG "0.0" "0.0" "1.0" "0.0"
AACCAACGACC "3.0" "0.0" "0.0" "0.0"
AACCAACGCAA "0.0" "0.0" "0.0" "0.0"
AACCAACTCCG "0.0" "0.0" "0.0" "0.0"
AACCAACTGAC "0.0" "0.0" "0.0" "0.0"
How can I assign sample number to my counts? I mean for example to know AACCAACCAAG barcode belongs to which cell