Re: [R] How to extract data based on first column ID in R

2019-06-23 Thread Yogesh Gupta
Thanks, David, It is resolved now. I used below code dim(otu.list) [1] 196 1 i <- row.names(data) %in% otu.list[[1]] Thanks Yogesh On Sun, 23 Jun 2019, 21:38 David Winsemius, wrote: > > > On Jun 23, 2019, at 5:57 AM, Yogesh Gupta wrote: > > > > Hi, > > > > I need help to extract d

Re: [R] How to extract data based on first column ID in R

2019-06-23 Thread David Winsemius
> On Jun 23, 2019, at 5:57 AM, Yogesh Gupta wrote: > > Hi, > > I need help to extract data based on first column ID in R. > > I used the below code but not succeed , it is not giving the row values, > only showing the header of rows. > >> head(data) > > > Root-1.S35.L001.Root-10.S75.L0

Re: [R] How to extract data based on first column ID in R

2019-06-23 Thread Thevaraja, Mayooran
Hello Check out following link: https://dzone.com/articles/learn-r-how-extract-rows https://stat.ethz.ch/R-manual/R-devel/library/base/html/Extract.data.frame.html Cheers Mayooran Sent from Mail for Windows 10 From: Yoge