Skip to content

Commit

Permalink
Merge pull request YuLab-SMU#51 from huerqiang/master
Browse files Browse the repository at this point in the history
upate data
  • Loading branch information
Guangchuang Yu authored Aug 16, 2021
2 parents 2d055a4 + 78ade9a commit 0a9daef
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: DOSE
Type: Package
Title: Disease Ontology Semantic and Enrichment analysis
Version: 3.19.2
Version: 3.19.2.991
Authors@R: c( person(given = "Guangchuang", family = "Yu", email = "[email protected]", role = c("aut", "cre")),
person(given = "Li-Gen", family = "Wang", email = "[email protected]", role = "ctb"),
person(given = "Vladislav", family = "Petyuk", email = "[email protected]", role = "ctb"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# DOSE 3.19.2.991

+ upate DisGeNET and NCG data(2021-8-16, Mon)

# DOSE 3.19.2

+ bug fixed, change 'is.na(path2name)' to 'all(is.na(path2name))' (2021-06-21, Mon)
Expand Down
Binary file modified data/DGN_EXTID2PATHID.rda
Binary file not shown.
Binary file modified data/DGN_PATHID2EXTID.rda
Binary file not shown.
Binary file modified data/DGN_PATHID2NAME.rda
Binary file not shown.
Binary file modified data/NCG_EXTID2PATHID.rda
Binary file not shown.
Binary file modified data/NCG_PATHID2EXTID.rda
Binary file not shown.
Binary file modified data/NCG_PATHID2NAME.rda
Binary file not shown.
Binary file modified data/VDGN_EXTID2PATHID.rda
Binary file not shown.
Binary file modified data/VDGN_PATHID2EXTID.rda
Binary file not shown.
Binary file modified data/VDGN_PATHID2NAME.rda
Binary file not shown.
6 changes: 5 additions & 1 deletion inst/extdata/build_DGN_Anno.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
x <- read.delim("all_gene_disease_associations.tsv", comment.char="#", stringsAsFactor=F)
# download from https://www.disgenet.org/downloads
# 1. ALL gene-disease associations
# 2. ALL variant-disease associations
#x <- read.delim("all_gene_disease_associations.tsv", comment.char="#", stringsAsFactor=F)
x <- read.delim("all_gene_disease_associations.tsv", comment.char="#", stringsAsFactor=F, encoding = "latin1")
d2n <- unique(x[, c("diseaseId", "diseaseName")])
d2g <- unique(x[, c("diseaseId", "geneId")])

Expand Down
5 changes: 4 additions & 1 deletion inst/extdata/build_NCG_Anno.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
x=read.delim("NCG6_cancergenes.tsv", stringsAsFactor=F)
# download from http://ncg.kcl.ac.uk/download.php
# All cancer genes -> •List of 2372 cancer genes and supporting literature
#x=read.delim("NCG6_cancergenes.tsv", stringsAsFactor=F)
x=read.delim("NCG6_cancergenes.tsv", stringsAsFactor=F, encoding = "latin1")
path2gene <- x[, c("cancer_type", "entrez")]
path2gene <- path2gene[path2gene[,1] != '',]

Expand Down

0 comments on commit 0a9daef

Please sign in to comment.