bc_2df {CellBarcode} | R Documentation |
Transforms BarcodeObj object into data.frame
, data.table
or
matrix
.
bc_2df(barcodeObj) bc_2dt(barcodeObj) bc_2matrix(barcodeObj) ## S4 method for signature 'BarcodeObj' bc_2df(barcodeObj) ## S4 method for signature 'BarcodeObj' bc_2dt(barcodeObj) ## S4 method for signature 'BarcodeObj' bc_2matrix(barcodeObj)
barcodeObj |
A |
A data.frame
, with two columns: barcode_seq
and
count
.
data(bc_obj) bc_obj <- bc_cure_depth(bc_obj) # BarcodeObj to data.frame bc_2df(bc_obj) # BarcodeObj to data.table bc_2dt(bc_obj) # BarcodeObj to matrix bc_2matrix(bc_obj) ###