bc_cleanBc | R Documentation |
cleanBc
slot of BarcodeObj object contains the processed barcode reads
frequency data. For more detail about the cleanBc
slot, see
BarcodeObj
. bc_cleanBc
is used to access
the 'cleanBc' slot in the BarcodeObj
.
bc_cleanBc(barcodeObj, isList = TRUE)
## S4 method for signature 'BarcodeObj'
bc_cleanBc(barcodeObj, isList = TRUE)
barcodeObj |
A |
isList |
A logical value, if TRUE (default), the return is a list with each sample
as an element. Otherwise, the function will return a |
If a list
is requested, each list
element is a data.frame
for each sample. In a data.frame
, there are 2 columns 1.
barcode_seq
: barcode sequence 2. counts
: reads count, or UMI
count if the cleanBc
was created by bc_cure_umi
.
If a data.frame
is requested, the data.frame
in the list
described above are combined into one data.frame
by row, with an extra
column named sample_name
for identifying sample.
data(bc_obj)
# Get the data in cleanBc slot
# default the return value is a list
bc_cleanBc(bc_obj)
# The return value can be a data.frame
bc_cleanBc(bc_obj, isList=FALSE)
###
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.