Browse code

v.4.1.1: do not import .rbind.data.table

ramon diaz-uriarte (at Phelsuma) authored on 20/02/2023 18:01:31
Showing 1 changed files
... ...
@@ -48,7 +48,7 @@ import(ggplot2)
48 48
 importFrom("ggrepel", geom_text_repel, geom_label_repel)
49 49
 importFrom("utils", "read.table", "write.table")
50 50
 importFrom("stats", "rnorm")
51
-importFrom("data.table", rbindlist, .rbind.data.table) 
51
+importFrom("data.table", rbindlist)
52 52
 importFrom(Rcpp, evalCpp)
53 53
 importFrom("igraph", igraph.to.graphNEL, graph.data.frame, V, E,
54 54
            "V<-", "E<-", plot.igraph, layout.reingold.tilford,
Browse code

3.99.1: interventions, death with fdf, user variables

ramon diaz-uriarte (at Phelsuma) authored on 25/06/2022 14:24:13
Showing 1 changed files
... ...
@@ -13,7 +13,10 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
13 13
        "Magellan_stats",
14 14
        "sampledGenotypes"
15 15
      , "POM", "LOD"
16
-     , "diversityPOM", "diversityLOD"
16
+     , "diversityPOM", "diversityLOD",
17
+     "createInterventions",
18
+     "createUserVars",
19
+     "createRules"
17 20
 ##     , "meanCompositionPop", "compositionPop2"
18 21
        )
19 22
 
Browse code

version 2.99.1: frequency-dependent fitness functionality

ramon diaz-uriarte (at Phelsuma) authored on 10/12/2020 11:41:53
Showing 1 changed files
... ...
@@ -12,8 +12,9 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
12 12
        "to_Magellan",
13 13
        "Magellan_stats",
14 14
        "sampledGenotypes"
15
-       , "POM", "LOD"
16
-       , "diversityPOM", "diversityLOD"
15
+     , "POM", "LOD"
16
+     , "diversityPOM", "diversityLOD"
17
+##     , "meanCompositionPop", "compositionPop2"
17 18
        )
18 19
 
19 20
 S3method(plot, oncosimul)
... ...
@@ -56,8 +57,8 @@ importFrom("gtools", combinations, permutations, mixedorder)
56 57
 ## importFrom("compare", compare)
57 58
 importFrom("graphics", "axis", "box", "legend", "matplot", "par", "polygon")
58 59
 importFrom("methods", "as")
59
-importFrom("stats", "na.omit", "runif", "smooth.spline")
60
-importFrom("utils", "type.convert")
60
+importFrom("stats", "na.omit", "runif", "smooth.spline", "setNames")
61
+importFrom("utils", "type.convert", "combn")
61 62
 importFrom("RColorBrewer", "brewer.pal")
62 63
 importFrom("grDevices", "colorRampPalette", "hsv", "rainbow")
63 64
 importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
... ...
@@ -65,8 +66,7 @@ importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
65 66
 importFrom("smatr", "ma") ## for major axis regression in some tests
66 67
 importFrom("car", "linearHypothesis")
67 68
 ## importFrom("nem", "transitive.reduction") ## now in file nem_transitive_reduction.R
69
+importFrom("stringr", "regex", "str_extract_all", "str_replace_all")
68 70
 ## importFrom("slam", "simple_triplet_zero_matrix", ## "colapply_simple_triplet_matrix",
69 71
 ##            "col_sums")
70
-
71
-
72
-
72
+## importFrom("graphics", "segments", "stripchart")
Browse code

2.17.7: no longer depends on nem; more models from MAGELLAN

ramon diaz-uriarte (at Phelsuma) authored on 30/01/2020 13:39:14
Showing 1 changed files
... ...
@@ -64,7 +64,7 @@ importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
64 64
            "filter")
65 65
 importFrom("smatr", "ma") ## for major axis regression in some tests
66 66
 importFrom("car", "linearHypothesis")
67
-importFrom("nem", "transitive.reduction")
67
+## importFrom("nem", "transitive.reduction") ## now in file nem_transitive_reduction.R
68 68
 ## importFrom("slam", "simple_triplet_zero_matrix", ## "colapply_simple_triplet_matrix",
69 69
 ##            "col_sums")
70 70
 
Browse code

2.15.1: Added MAGELLANs sources and functionality from MAGELLAN

ramon diaz-uriarte (at Phelsuma) authored on 02/07/2019 14:55:40
Showing 1 changed files
... ...
@@ -10,6 +10,7 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
10 10
        "rfitness",
11 11
        "plotFitnessLandscape",
12 12
        "to_Magellan",
13
+       "Magellan_stats",
13 14
        "sampledGenotypes"
14 15
        , "POM", "LOD"
15 16
        , "diversityPOM", "diversityLOD"
Browse code

v. 2.9.2 - LOD: using only the strict Szendro et al. meaning. - POM: computed in C++. - Using fitness landscape directly when given as input (no conversion to epistasis)

ramon diaz-uriarte (at Phelsuma) authored on 24/11/2017 12:41:48
Showing 1 changed files
... ...
@@ -51,8 +51,8 @@ importFrom("igraph", igraph.to.graphNEL, graph.data.frame, V, E,
51 51
 import(graph)
52 52
 import(Rgraphviz)
53 53
 importFrom("parallel", mclapply, detectCores, mcMap)
54
-importFrom("gtools", combinations, permutations)
55
-
54
+importFrom("gtools", combinations, permutations, mixedorder)
55
+## importFrom("compare", compare)
56 56
 importFrom("graphics", "axis", "box", "legend", "matplot", "par", "polygon")
57 57
 importFrom("methods", "as")
58 58
 importFrom("stats", "na.omit", "runif", "smooth.spline")
Browse code

v.2.5.12

- Several improvements to rfitness.
- simOGraph using transitive reduction properly.
- Miscell documentation improvements.
- Updated citation to Bioinformatics paper.



git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@126818 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 18/02/2017 20:20:42
Showing 1 changed files
... ...
@@ -63,6 +63,7 @@ importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
63 63
            "filter")
64 64
 importFrom("smatr", "ma") ## for major axis regression in some tests
65 65
 importFrom("car", "linearHypothesis")
66
+importFrom("nem", "transitive.reduction")
66 67
 ## importFrom("slam", "simple_triplet_zero_matrix", ## "colapply_simple_triplet_matrix",
67 68
 ##            "col_sums")
68 69
 
Browse code

v.2.5.2 - Lots and lots of addition to vignette including benchmarks. - Diversity of sampled genotypes. - Genotyping error can be added in samplePop. - LOD and POM (lines of descent, path of maximum, sensu Szendro et al.). - simOGraph can also out rT data frames. - Better (and better explained) estimates of simulation error for McFL.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@124982 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 10/12/2016 16:05:05
Showing 1 changed files
... ...
@@ -11,6 +11,8 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
11 11
        "plotFitnessLandscape",
12 12
        "to_Magellan",
13 13
        "sampledGenotypes"
14
+       , "POM", "LOD"
15
+       , "diversityPOM", "diversityLOD"
14 16
        )
15 17
 
16 18
 S3method(plot, oncosimul)
... ...
@@ -23,6 +25,19 @@ S3method(plot, fitnessEffects)
23 25
 S3method(plot, genotype_fitness_matrix)
24 26
 S3method(plot, evalAllGenotypes)
25 27
 S3method(plot, evalAllGenotypesMut)
28
+S3method(print, sampledGenotypes)
29
+
30
+S3method(POM, oncosimul2)
31
+S3method(POM, oncosimulpop)
32
+S3method(LOD, oncosimul2)
33
+S3method(LOD, oncosimulpop)
34
+
35
+
36
+## S3method(summary, oncosimul_lod_list)
37
+## S3method(summary, oncosimul_pom_list)
38
+
39
+
40
+
26 41
 
27 42
 import(ggplot2)
28 43
 importFrom("ggrepel", geom_text_repel, geom_label_repel)
Browse code

v.2.5.1. \n - much faster accessible genots \n - AND of drivers and size \n - fixation \n - doc. improvements

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@123922 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 13/11/2016 09:46:27
Showing 1 changed files
... ...
@@ -9,7 +9,8 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
9 9
        "evalAllGenotypesFitAndMut",
10 10
        "rfitness",
11 11
        "plotFitnessLandscape",
12
-       "to_Magellan"
12
+       "to_Magellan",
13
+       "sampledGenotypes"
13 14
        )
14 15
 
15 16
 S3method(plot, oncosimul)
... ...
@@ -47,7 +48,8 @@ importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
47 48
            "filter")
48 49
 importFrom("smatr", "ma") ## for major axis regression in some tests
49 50
 importFrom("car", "linearHypothesis")
50
-
51
+## importFrom("slam", "simple_triplet_zero_matrix", ## "colapply_simple_triplet_matrix",
52
+##            "col_sums")
51 53
 
52 54
 
53 55
 
Browse code

v.2.3.5; to_Magellan

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@118942 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 25/06/2016 00:53:22
Showing 1 changed files
... ...
@@ -8,7 +8,8 @@ export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
8 8
        "evalGenotypeMut", "evalGenotypeFitAndMut",
9 9
        "evalAllGenotypesFitAndMut",
10 10
        "rfitness",
11
-       "plotFitnessLandscape"
11
+       "plotFitnessLandscape",
12
+       "to_Magellan"
12 13
        )
13 14
 
14 15
 S3method(plot, oncosimul)
... ...
@@ -24,7 +25,7 @@ S3method(plot, evalAllGenotypesMut)
24 25
 
25 26
 import(ggplot2)
26 27
 importFrom("ggrepel", geom_text_repel, geom_label_repel)
27
-
28
+importFrom("utils", "read.table", "write.table")
28 29
 importFrom("stats", "rnorm")
29 30
 importFrom("data.table", rbindlist, .rbind.data.table) 
30 31
 importFrom(Rcpp, evalCpp)
Browse code

v. 2.3.3.\n mutator, fitness landscapes, rfitness, and many other changes

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@118909 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 23/06/2016 16:43:51
Showing 1 changed files
... ...
@@ -2,8 +2,13 @@ useDynLib(OncoSimulR, .registration=TRUE)
2 2
 
3 3
 export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
4 4
        "plotPoset", "oncoSimulSample", "allFitnessEffects",
5
-       "evalGenotype", "evalAllGenotypes", "simOGraph"
6
-     , "plotClonePhylog", "OncoSimulWide2Long"
5
+       "evalGenotype", "evalAllGenotypes", "simOGraph",
6
+       "plotClonePhylog", "OncoSimulWide2Long",
7
+       "allMutatorEffects", "evalAllGenotypesMut",
8
+       "evalGenotypeMut", "evalGenotypeFitAndMut",
9
+       "evalAllGenotypesFitAndMut",
10
+       "rfitness",
11
+       "plotFitnessLandscape"
7 12
        )
8 13
 
9 14
 S3method(plot, oncosimul)
... ...
@@ -13,8 +18,14 @@ S3method(plot, oncosimulpop)
13 18
 S3method(summary, oncosimulpop)
14 19
 S3method(print, oncosimulpop)
15 20
 S3method(plot, fitnessEffects)
21
+S3method(plot, genotype_fitness_matrix)
22
+S3method(plot, evalAllGenotypes)
23
+S3method(plot, evalAllGenotypesMut)
16 24
 
25
+import(ggplot2)
26
+importFrom("ggrepel", geom_text_repel, geom_label_repel)
17 27
 
28
+importFrom("stats", "rnorm")
18 29
 importFrom("data.table", rbindlist, .rbind.data.table) 
19 30
 importFrom(Rcpp, evalCpp)
20 31
 importFrom("igraph", igraph.to.graphNEL, graph.data.frame, V, E,
... ...
@@ -31,3 +42,11 @@ importFrom("stats", "na.omit", "runif", "smooth.spline")
31 42
 importFrom("utils", "type.convert")
32 43
 importFrom("RColorBrewer", "brewer.pal")
33 44
 importFrom("grDevices", "colorRampPalette", "hsv", "rainbow")
45
+importFrom("dplyr", "full_join", "left_join", "right_join", "%>%", "mutate",
46
+           "filter")
47
+importFrom("smatr", "ma") ## for major axis regression in some tests
48
+importFrom("car", "linearHypothesis")
49
+
50
+
51
+
52
+
Browse code

v-2.1.1: stacked and area plots, genotype plots, and mut.prop.growth

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@114315 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 07/03/2016 13:48:31
Showing 1 changed files
... ...
@@ -3,7 +3,7 @@ useDynLib(OncoSimulR, .registration=TRUE)
3 3
 export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
4 4
        "plotPoset", "oncoSimulSample", "allFitnessEffects",
5 5
        "evalGenotype", "evalAllGenotypes", "simOGraph"
6
-     , "plotClonePhylog"
6
+     , "plotClonePhylog", "OncoSimulWide2Long"
7 7
        )
8 8
 
9 9
 S3method(plot, oncosimul)
... ...
@@ -24,3 +24,10 @@ import(graph)
24 24
 import(Rgraphviz)
25 25
 importFrom("parallel", mclapply, detectCores, mcMap)
26 26
 importFrom("gtools", combinations, permutations)
27
+
28
+importFrom("graphics", "axis", "box", "legend", "matplot", "par", "polygon")
29
+importFrom("methods", "as")
30
+importFrom("stats", "na.omit", "runif", "smooth.spline")
31
+importFrom("utils", "type.convert")
32
+importFrom("RColorBrewer", "brewer.pal")
33
+importFrom("grDevices", "colorRampPalette", "hsv", "rainbow")
Browse code

fixed Windows issues with bool; added phylogenies

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@105324 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 22/06/2015 17:55:14
Showing 1 changed files
... ...
@@ -1,9 +1,9 @@
1 1
 useDynLib(OncoSimulR, .registration=TRUE)
2
-## useDynLib(OncoSimulR)
3 2
 
4 3
 export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
5 4
        "plotPoset", "oncoSimulSample", "allFitnessEffects",
6 5
        "evalGenotype", "evalAllGenotypes", "simOGraph"
6
+     , "plotClonePhylog"
7 7
        )
8 8
 
9 9
 S3method(plot, oncosimul)
... ...
@@ -17,9 +17,9 @@ S3method(plot, fitnessEffects)
17 17
 
18 18
 importFrom("data.table", rbindlist, .rbind.data.table) 
19 19
 importFrom(Rcpp, evalCpp)
20
-## import(igraph)
21 20
 importFrom("igraph", igraph.to.graphNEL, graph.data.frame, V, E,
22
-           "V<-", "E<-", plot.igraph)
21
+           "V<-", "E<-", plot.igraph, layout.reingold.tilford,
22
+           delete.vertices, neighborhood, get.adjacency)
23 23
 import(graph)
24 24
 import(Rgraphviz)
25 25
 importFrom("parallel", mclapply, detectCores, mcMap)
Browse code

v. 1.99.0

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@105089 bc3139a8-67e5-0310-9ffc-ced21a209358

Ramon Diaz-Uriarte authored on 17/06/2015 17:17:55
Showing 1 changed files
... ...
@@ -1,7 +1,10 @@
1 1
 useDynLib(OncoSimulR, .registration=TRUE)
2 2
 ## useDynLib(OncoSimulR)
3 3
 
4
-export("oncoSimulPop", "oncoSimulIndiv", "samplePop", "plotPoset")
4
+export("oncoSimulPop", "oncoSimulIndiv", "samplePop",
5
+       "plotPoset", "oncoSimulSample", "allFitnessEffects",
6
+       "evalGenotype", "evalAllGenotypes", "simOGraph"
7
+       )
5 8
 
6 9
 S3method(plot, oncosimul)
7 10
 S3method(print, oncosimul)
... ...
@@ -9,13 +12,15 @@ S3method(summary, oncosimul)
9 12
 S3method(plot, oncosimulpop)
10 13
 S3method(summary, oncosimulpop)
11 14
 S3method(print, oncosimulpop)
15
+S3method(plot, fitnessEffects)
12 16
 
13 17
 
14 18
 importFrom("data.table", rbindlist, .rbind.data.table) 
15 19
 importFrom(Rcpp, evalCpp)
20
+## import(igraph)
21
+importFrom("igraph", igraph.to.graphNEL, graph.data.frame, V, E,
22
+           "V<-", "E<-", plot.igraph)
16 23
 import(graph)
17 24
 import(Rgraphviz)
18
-importFrom("parallel", mclapply, detectCores)
19
-
20
-
21
-
25
+importFrom("parallel", mclapply, detectCores, mcMap)
26
+importFrom("gtools", combinations, permutations)
Browse code

Adds OncoSimulR, missMethyl, ballgown and STAN to the repos.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@92963 bc3139a8-67e5-0310-9ffc-ced21a209358

Marc Carlson authored on 28/07/2014 22:43:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+useDynLib(OncoSimulR, .registration=TRUE)
2
+## useDynLib(OncoSimulR)
3
+
4
+export("oncoSimulPop", "oncoSimulIndiv", "samplePop", "plotPoset")
5
+
6
+S3method(plot, oncosimul)
7
+S3method(print, oncosimul)
8
+S3method(summary, oncosimul)
9
+S3method(plot, oncosimulpop)
10
+S3method(summary, oncosimulpop)
11
+S3method(print, oncosimulpop)
12
+
13
+
14
+importFrom("data.table", rbindlist, .rbind.data.table) 
15
+importFrom(Rcpp, evalCpp)
16
+import(graph)
17
+import(Rgraphviz)
18
+importFrom("parallel", mclapply, detectCores)
19
+
20
+
21
+