Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Get the number of measurements for each Study
  2. SELECT count(Study),Study
  3. FROM [isb-cgc:tcga_201607_beta.DNA_Methylation_betas]
  4. GROUP BY Study
  5.  
  6. # Summarize mean and sd of beta values by study
  7. SELECT Study,
  8. AVG(Beta_Value) as beta,
  9. STDDEV(Beta_Value) as stddev
  10. FROM [isb-cgc:tcga_201607_beta.DNA_Methylation_betas]
  11. GROUP BY Study order by stddev;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement