Off topic:Assigning sample names to a columns
0
0
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

R Single cell sequencing • 705 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2150 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6