Browse code

v.1.23.1 DominoEffect - bring ens_release variable forward

Peter Blattmann authored on 02/11/2023 06:25:36
Showing 2 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: DominoEffect
2 2
 Type: Package
3 3
 Title: Identification and Annotation of Protein Hotspot Residues
4
-Version: 1.23.0
4
+Version: 1.23.1
5 5
 Author: Marija Buljan and Peter Blattmann
6 6
 Maintainer: Marija Buljan <[email protected]>, 
7 7
     Peter Blattmann <[email protected]>
... ...
@@ -1,16 +1,17 @@
1 1
 DominoEffect <- function(mutation_dataset, gene_data, snp_data,
2
-min_n_muts = 5, MAF_thresh = 0.01,
3
-flanking_region = c(200, 300),
4
-poisson.thr = 0.01, percentage.thr = 0.15,
5
-ratio.thr = 45, approach = "percentage", write_to_file = "NO"){
6
-
7
-    results <- identify_hotspots(mutation_dataset, gene_data, snp_data,
8
-                                 min_n_muts, MAF_thresh, flanking_region,
9
-                                 poisson.thr, percentage.thr, ratio.thr, 
10
-                                 approach)
11
-
12
-    hotspot_mutations <- map_to_func_elem(results, write_to_file, 
13
-                                          ens_release = "http://feb2014.archive.ensembl.org")
14
-    message ("   ***FINISHED***")
15
-    return(hotspot_mutations)
2
+                         min_n_muts = 5, MAF_thresh = 0.01,
3
+                         flanking_region = c(200, 300),
4
+                         poisson.thr = 0.01, percentage.thr = 0.15,
5
+                         ratio.thr = 45, approach = "percentage", write_to_file = "NO",
6
+                         ens_release = "https://feb2014.archive.ensembl.org"){
7
+  
8
+  results <- identify_hotspots(mutation_dataset, gene_data, snp_data,
9
+                               min_n_muts, MAF_thresh, flanking_region,
10
+                               poisson.thr, percentage.thr, ratio.thr, 
11
+                               approach)
12
+  
13
+  hotspot_mutations <- map_to_func_elem(results, write_to_file, 
14
+                                        ens_release = ens_release)
15
+  message ("   ***FINISHED***")
16
+  return(hotspot_mutations)
16 17
 }