This function removes the rows that have zero count in all samples. It takes care of updating both count_table and annotation_table. Very_Important: It has to be performed before the data normalization.
Arguments
- screenR_Object
The ScreenR object obtained using the
create_screenr_object
Examples
object <- get0("object", envir = asNamespace("ScreenR"))
counts <- get_count_table(object)
#> ScreenR count table containing:
#> 5320 rows
#> 15 columns
nrow(counts)
#> [1] 5320
object <- remove_all_zero_row(object)
counts <- get_count_table(object)
#> ScreenR count table containing:
#> 5317 rows
#> 15 columns
nrow(counts)
#> [1] 5317