> row_names_df_to_remove<-c("A","B","C","D","E") > df[!(row.names(df) %in% row_names_df_to_remove),]
rownames(data) <- c()
df = df %>% `rownames<-`( NULL )
df <- df[!is.infinite(rowSums(df)),]