delete_undefined_rows {scsR} | R Documentation |
method to delete the rows that contain undefined values in some specific columns.
delete_undefined_rows(df, colNames, quiet=FALSE)
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) |
data frame without the rows that contain at least one undefined value in the column list
Andrea Franceschini
data(uuk_screen) screen <- delete_undefined_rows(uuk_screen, colNames=c("score", "GeneID"))