delete_undefined_rows {scsR}R Documentation

delete_undefined_rows

Description

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

Usage

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

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

[Package scsR version 1.16.0 Index]