Learn R Programming

scsR (version 1.8.0)

delete_undefined_rows: 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

Examples

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

Run the code above in your browser using DataLab