List design and labkey.selectRows | laurapas | 2016-02-23 12:49 | |||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||
Hi, As a follow up to the forum thread that I submitted a couple of weeks ago (titled labkey.deleteRows), I redesigned my lists so that the primary key would be an Integer that I can specify it myself instead of the Auto-integer. One problem I see now is that the resulting R labkey.selectRows is resulting in a duplicate primary key column. See attachment snapshots for my list creation. Here is the labkey.selectRows that I am using. peptideref <- labkey.selectRows( baseUrl="https://labkey-dev.roche.com:8443/labkey", folderPath="/gRED/QuaSAR Dev 2/QuaSAR Dev 2 results", schemaName="lists", queryName="peptidereference", showHidden = TRUE, colNameOpt = "fieldname", containerFilter=NULL ) > str(peptideref) 'data.frame': 67 obs. of 8 variables: $ Skyline Number: num 1 2 4 5 6 7 8 9 10 11 ... $ Category : chr "Spike" ... $ Panel : chr "V1" ... $ Conc : chr "M" ... $ Conc Level : chr "M11" ... $ Protein : chr "P68082" ... $ Peptide : chr "HGTVVLTALGGILK" ... $ Skyline Number: num 1 2 4 5 6 7 8 9 10 11 ... I tried showHidden = FALSE and it does not make a difference; I get the same duplicate primary key. Is there something I am missing? |
|||||||||||||||||||||||||
| |||||||||||||||||||||||||