Skip to content

Commit

Permalink
version 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
phoeguo committed Mar 22, 2019
1 parent e9121a3 commit 606cd57
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
15 changes: 8 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Package: g3viz
Package: g3lollipop
Type: Package
Title: Visualize Genomic Mutation Data Using an Interactive Lollipop Diagram
Version: 0.1.4
Title: Visualize Genomic Mutation Data via an Interactive Lollipop Diagram
Version: 0.3
Authors@R: c(
person("Xin", "Guo", , "[email protected]", c("aut", "cre"))
person("Xin", "Guo", email = "[email protected]", role = c("aut", "cre"))
)
Maintainer: Xin Guo <[email protected]>
Description: R interface for 'g3viz' JavaScript library. Using an interactive lollipop diagram to visualize genomic mutation data in a web browser.
Description: R interface for 'g3viz' JavaScript library.
Visualize Genomic Mutation Data Using a rich interactive lollipop diagram in Rstudio or your browser.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Expand All @@ -21,7 +22,7 @@ Suggests:
shiny (>= 1.0.0),
knitr,
rmarkdown
URL: https://github.com/G3js/lollipopR
BugReports: https://github.com/G3js/lollipopR/issues
URL: https://github.com/G3viz/g3lollipop
BugReports: https://github.com/G3viz/g3lollipop/issues
RoxygenNote: 6.1.1
VignetteBuilder: knitr
10 changes: 8 additions & 2 deletions R/getMutationsFromCbioportal.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@
#' @param gene.symbol HGNC gene symbol.
#' @param output.file if specified, output to a file in \emph{CSV} format. Default is \code{NA}.
#' @param mutation.type.to.class.df mapping table from mutation type to class.
#' @param cgds.url the URL for the public CGDS server, refer to
#' @param test.cbioportal test CGDS connection
#' See \code{\link{mapMutationTypeToMutationClass}} for details.
#' Default \code{NA}, which indicates to use default mappings.
#' @examples
#' \dontrun{
#' # Note: internet access required. May need more than 10 seconds.
#' # list all studies of cBioPortal
#' library(cgdsr)
#' cgds <- CGDS("http://www.cbioportal.org/public-portal/")
#' cgds <- CGDS("http://www.cbioportal.org/")
#' # test if connection is OK (warning: sometimes it may fail)
#' test(cgds)
#' all.studies <- getCancerStudies(cgds)
#'
#' # pick a "caner_study_id" (contain a mutation data set)
Expand Down Expand Up @@ -42,7 +46,9 @@
getMutationsFromCbioportal <- function(study.id,
gene.symbol,
output.file = NA,
mutation.type.to.class.df = NA){
mutation.type.to.class.df = NA,
cbioportal.url = "http://www.cbioportal.org/",
test.cbioportal = FALSE){
# =============================
# define mutation columns
aa.pos.col <- "AA_Position"
Expand Down
2 changes: 1 addition & 1 deletion vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "G3viz: Interactively visualize genomic data in a web browser"
date: "2018-08-30"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteIndexEntry{G3viz: interactively visualize genomic data in a web browser}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down

0 comments on commit 606cd57

Please sign in to comment.