#' get info about a study
#'
#' Imports:
#' cgdsr
#'
#' @param cgds object, output from the cgBase() function
#' @param cancer_study_id string, the ID as given in the first column of the cgBase() printout
#' @return nothing, but prints out two tables with information for the follow-up function
#' @details uses cgdsr::getCancerStudies(cgds)
#' @examples
#' cgds <- cgBbase()
#' mystudy <- "laml_tcga"
#' cgStudy(cgds, mystudy)
#' @export
cgStudy <- function(cgds, cancer_study_id){
#==user info print==#
cat("\n## Profiles:\n")
print(cgdsr::getGeneticProfiles(cgds, cancer_study_id)[,1:2])
cat("## Samples:\n")
print(cgdsr::getCaseLists (cgds, cancer_study_id)[,2:3])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.