Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phoeguo committed Aug 27, 2024
1 parent deb7538 commit f875e30
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 7,848 deletions.
14 changes: 13 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ Authors@R: c(
family = "Zhang",
email = "[email protected]",
role = c("ctb")
),
person(
given = "Ruining",
family = "Zhu",
email = "[email protected]",
role = c("ctb")
),
person(
given = "Feng",
family = "Zhao",
email = "[email protected]",
role = c("ctb")
))
Maintainer: Xin Guo <[email protected]>
Description: Interface for 'g3-lollipop' 'JavaScript' library.
Expand All @@ -22,7 +34,7 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Depends:
R (>= 3.5.0)
R (>= 4.2.0)
biocViews:
Imports:
jsonlite,
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 1.2.0
- Updated Pfam (v37.0) (date: 2024-07-29)
- Updated UniProtKB (date: 2024-07-29)

## Version 1.15 (2022/06/30)
- Updated `hgnc2pfam.df.rda` data
- Remove cgdsr dependencies; add cBioPortalData as the substitution
Expand Down
26 changes: 23 additions & 3 deletions R/getMutationsFromCbioportal.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,32 @@ getMutationsFromCbioportal <- function(study.id,

# ========================
# server
cbio <- cBioPortal()
# cbio <- cBioPortal()
# cbio <- suppressWarnings({
# cBioPortal(
# hostname = "www.cbioportal.org",
# protocol = "https",
# api. = "/api/v2/api-docs"
# )
# })

cbio <- tryCatch({
cBioPortal(
hostname = "www.cbioportal.org",
protocol = "https",
api. = "/api/v2/api-docs"
)
}, warning = function(w){
# message(w)
}, error = function(e){
stop("Connection error: can not connect to cBioPortal API")
}, finally = {
#
})

# ========================
# get study information
genetic.profiles <- molecularProfiles(cbio,studyId = study.id)
genetic.profiles <- molecularProfiles(cbio, studyId = study.id)
message("Found study ", study.id)

# ========================
Expand All @@ -71,7 +92,6 @@ getMutationsFromCbioportal <- function(study.id,
message("Found mutation data set ", mutation.profile)

# ========================

case.list.details <- sampleLists(cbio, study.id)

mutation.case.list.id <- case.list.details$sampleListId
Expand Down
2,838 changes: 0 additions & 2,838 deletions docs/chart_themes.html

This file was deleted.

4,227 changes: 0 additions & 4,227 deletions docs/index.html

This file was deleted.

Loading

0 comments on commit f875e30

Please sign in to comment.