Skip to contents

Removes the barcodes (rows) with zero counts in all the samples, with their annotation. Run it before normalize_data. On a normalized object the normalization is kept (barcodes without reads do not change the library sizes; see screenr_object-class).

Usage

remove_all_zero_row(screenR_Object)

Arguments

screenR_Object

The ScreenR object obtained using create_screenr_object.

Value

The ScreenR object without the barcodes with zero counts in all samples.

Examples

object <- get0("object", envir = asNamespace("ScreenR"))
counts <- get_count_table(object)
#> ScreenR count table: 5320 rows, 15 columns
nrow(counts)
#> [1] 5320
object <- remove_all_zero_row(object)
counts <- get_count_table(object)
#> ScreenR count table: 5317 rows, 15 columns
nrow(counts)
#> [1] 5317