GEOmetadb urgent question!
1
0
Entering edit mode
@vascocluny-9768
Last seen 8.8 years ago

Hello Guys!I am doing a master thesis but i have a question related to R coding.

I am doing some Geometadb tutorial to understand how it works, and i found this code line that i dont understand totally: 

 rs <- dbGetQuery(con,paste("select gpl.bioc_package,gsm.gpl,",
                            "gsm,gsm.supplementary_file",
                            "from gsm join gpl on gsm.gpl=gpl.gpl",
                            "where gpl.manufacturer='Affymetrix'",
                            "and gsm.supplementary_file like '%CEL.gz' ")) 

I dont understand the meaning of the bold part! I need to join the "tables" gsm, gpl, gse and gds to filter some metadata.

  Can anyone help me? I would be very greatfull!Thanks in advance  

 

 

 

R geometadb • 1.3k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 14 hours ago
United States

This isn't a Bioconductor question, but is really a general SQL question. You are asking 'what is an inner join in SQL', which you could use as a Google query to get more information.

The basic idea is that you have two tables in a database, and you want to get data from both tables. The inner join (in SQLite 'join' is the same as 'inner join') is the same as the merge function in R, where you are combining two tables based on columns in each table, and then selecting rows from the resulting table. An inner join forces the constraint that the values being merged on must be found in both tables.

ADD COMMENT

Login before adding your answer.

Traffic: 539 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6