Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. query.maf.hg19 <- GDCquery(project = "TCGA-COAD",
  2. data.category = "Simple nucleotide variation",
  3. data.type = "Simple somatic mutation",
  4. access = "open",
  5. legacy = TRUE)
  6. # Check maf availables
  7. knitr::kable(getResults(query.maf.hg19)[,c("created_datetime","file_name")])
  8.  
  9. query.maf.hg19 <- GDCquery(project = "TCGA-COAD",
  10. data.category = "Simple nucleotide variation",
  11. data.type = "Simple somatic mutation",
  12. access = "open",
  13. file.type = "gsc_COAD_pairs.aggregated.capture.tcga.uuid.automated.somatic.maf",
  14. legacy = TRUE)
  15. GDCdownload(query.maf.hg19)
  16. coad.mutect.maf <- GDCprepare(query.maf.hg19)
  17.  
  18. library(dplyr)
  19. coad.mutect.maf %>% summarise(n_distinct(Tumor_Sample_Barcode))
  20. coad.mutect.maf %>% filter(Hugo_Symbol == "KRAS") %>% summarise(n_distinct(Tumor_Sample_Barcode))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement