Quite new to R... I loaded a file with 13458 observations containing a time and a value. I ran it through a program which detects homologue series. The output is a large list with 6 elements, including values IDed by the row number in the original file. I would like to export the original file with values detected by the program marked somehow so I can easily identify them in Excel. Hopefully that makes some sense.
My dataframe looks like this and I'm using the m.z and RT values:
        m.z       dummy     RT
1     151.0092    255975.8 15.043
2     151.0092    110111.7 15.456
3     151.0092    108958.1 15.243
4     151.0093   3258343.0 14.620
5     151.0127    107255.9  6.336
My output contains a list of related series and looks like this:
[359] "3518,4779,5929,6975,8032,9051,9825"       
[360] "5927,6977,8036,9052,9824,10507,11043"    
I would like a data frame that lets me know if a value has been identified, as this:
         m.z         dummy     RT       homologue
3518    459.2006   255975.8 15.043    TRUE
3519    459.2120   110111.7 15.456    FALSE
3520    459.2159   108958.1 15.243    FALSE
Thanks!
 
     
    