remove_all_zero_row: Remove rows that have zero count in all samples

View source: R/filter_by.R

remove_all_zero_rowR Documentation

Remove rows that have zero count in all samples

Description

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.

Usage

remove_all_zero_row(screenR_Object)

Arguments

screenR_Object

The ScreenR object obtained using the create_screenr_object

Value

The ScreenR object with the count_table and the annotation_table filtered.

Examples

object <- get0("object", envir = asNamespace("ScreenR"))
counts <- get_count_table(object)
nrow(counts)
object <- remove_all_zero_row(object)
counts <- get_count_table(object)
nrow(counts)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.