I have a large data frame that as several rows and columns. I need to subset the data frame to rows that has values in more than column. This is the data frame.
- Sample Typhi Kentucky | 8:i:z6
- F675BNARV 0 2000(3%)
- F685NARV 0 0
- F722NARV 2038340 (9.24%) 2882679 (13.07%)
I want to subset the row number 4 (F722NARV), since it has values in more than one column. How do i do that. I have tried various forms of subset and sapply. Any help regarding this is appreciated.