Skip to contents

Counts, for each sample, the barcodes lost during the screen or the sequencing, that is the barcodes with zero mapped reads. Many lost barcodes may indicate a sample of low quality or a bottleneck in the screen. Use plot_barcode_lost to plot the result.

Usage

barcode_lost(screenR_Object)

Arguments

screenR_Object

The ScreenR object obtained using create_screenr_object.

Value

A tibble with the columns Sample and LostBarcode (the number of barcodes with zero reads). Samples without lost barcodes are not reported.

Examples

object <- get0("object", envir = asNamespace("ScreenR"))
head(barcode_lost(object))
#> # A tibble: 6 × 2
#>   Sample      LostBarcode
#>   <fct>             <int>
#> 1 T1                    5
#> 2 T2                   21
#> 3 Time3_TRT_A          27
#> 4 Time3_TRT_B          28
#> 5 Time3_TRT_C          27
#> 6 Time3_A               9