delete_undefined_rows: delete_undefined_rows

Description Usage Arguments Value Author(s) Examples

View source: R/scsR_utils.R

Description

method to delete the rows that contain undefined values in some specific columns.

Usage

1
delete_undefined_rows(df, colNames, quiet=FALSE)

Arguments

df

data frame

colNames

vector with the names of the column that must be defined (i.e. their values cannot be NULL, NA, NaN or zero-length strings) (vector of strings)

quiet

specify whether to avoid printing warnings. (boolean)

Value

data frame without the rows that contain at least one undefined value in the column list

Author(s)

Andrea Franceschini

Examples

1
2
	data(uuk_screen)
	screen <- delete_undefined_rows(uuk_screen, colNames=c("score", "GeneID"))

scsR documentation built on April 28, 2020, 7:11 p.m.