git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/OncoSimulR@118921 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,8 +1,8 @@ |
1 | 1 |
Package: OncoSimulR |
2 | 2 |
Type: Package |
3 | 3 |
Title: Forward Genetic Simulation of Cancer Progresion with Epistasis |
4 |
-Version: 2.3.3 |
|
5 |
-Date: 2016-06-23 |
|
4 |
+Version: 2.3.4 |
|
5 |
+Date: 2016-06-24 |
|
6 | 6 |
Authors@R: c(person("Ramon", "Diaz-Uriarte", role = c("aut", "cre"), |
7 | 7 |
email = "rdiaz02@gmail.com"), |
8 | 8 |
person("Mark", "Taylor", role = "ctb", email = "ningkiling@gmail.com")) |
... | ... |
@@ -1,11 +1,14 @@ |
1 |
+Changes in version 2.3.4 (2016-06-24): |
|
2 |
+ - Failing some tests in Win 32-bits |
|
3 |
+ |
|
1 | 4 |
Changes in version 2.3.3 (2016-06-23): |
2 | 5 |
- Vignette improvements and typo fixes. |
3 | 6 |
- rfitness |
4 |
- - plot of fitness landscapes |
|
5 |
- - specify fitness by giving genotype-> fitness mapping |
|
6 |
- - tests showing same gene in epist./DAG/order |
|
7 |
- - clarified internal C++ unique/sorted in genotypes |
|
8 |
- - checks initMutant correct and bug initMutant mutable pos |
|
7 |
+ - Plot of fitness landscapes |
|
8 |
+ - Specify fitness by giving genotype-> fitness mapping |
|
9 |
+ - Tests showing same gene in epist./DAG/order |
|
10 |
+ - Clarified internal C++ unique/sorted in genotypes |
|
11 |
+ - Checks initMutant correct and bug initMutant mutable pos |
|
9 | 12 |
- samplePop: sample at arbitrary sizes. |
10 | 13 |
- plot.oncosimulpop using auto for color. |
11 | 14 |
- Mutator phenotype and gene-specific mutation rates. |
... | ... |
@@ -159,9 +159,9 @@ test_that("eval fitness and mut OK", { |
159 | 159 |
c(1.1, 1)) |
160 | 160 |
expect_identical(evalGenotypeFitAndMut("b, e", fe, fm), |
161 | 161 |
c(1.1, 1)) |
162 |
- expect_identical(evalGenotypeFitAndMut("a, b, e", fe, fm), |
|
162 |
+ expect_equal(evalGenotypeFitAndMut("a, b, e", fe, fm), |
|
163 | 163 |
c(1.3 * 1.1, 10)) |
164 |
- expect_identical(evalGenotypeFitAndMut("a, b, c, e", fe, fm), |
|
164 |
+ expect_equal(evalGenotypeFitAndMut("a, b, c, e", fe, fm), |
|
165 | 165 |
c(1.3 * 1.5 * 1.1, 10 * 5)) |
166 | 166 |
}) |
167 | 167 |
|
... | ... |
@@ -325,37 +325,37 @@ test_that("evaluating genotype and mutator", { |
325 | 325 |
fm <- allMutatorEffects(noIntGenes = c("a" = 10, |
326 | 326 |
"c" = 5)) |
327 | 327 |
ou <- evalAllGenotypesFitAndMut(fe, fm, order = FALSE) |
328 |
- expect_true(all(dplyr::filter(ou, Genotype == "a")[, c(2, 3)] == |
|
329 |
- c(1, 10))) |
|
330 |
- expect_true(all(dplyr::filter(ou, Genotype == "b")[, c(2, 3)] == |
|
331 |
- c(1, 1))) |
|
332 |
- expect_true(all(dplyr::filter(ou, Genotype == "c")[, c(2, 3)] == |
|
333 |
- c(1, 5))) |
|
334 |
- expect_true(all(dplyr::filter(ou, Genotype == "e")[, c(2, 3)] == |
|
335 |
- c(1.1, 1))) |
|
336 |
- expect_true(all(dplyr::filter(ou, Genotype == "a, b, c")[, c(2, 3)] == |
|
337 |
- c(1.3 * 1.5, 10 * 5))) |
|
338 |
- expect_true(all(dplyr::filter(ou, Genotype == "b, c, e")[, c(2, 3)] == |
|
339 |
- c(1.5 * 1.1, 5))) |
|
340 |
- expect_true(all(dplyr::filter(ou, Genotype == "a, b, c, e")[, c(2, 3)] == |
|
341 |
- c(1.3 * 1.5 * 1.1, 10 * 5))) |
|
328 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "a")[, c(2, 3)], |
|
329 |
+ c(1, 10)) |
|
330 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "b")[, c(2, 3)], |
|
331 |
+ c(1, 1)) |
|
332 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "c")[, c(2, 3)], |
|
333 |
+ c(1, 5)) |
|
334 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "e")[, c(2, 3)], |
|
335 |
+ c(1.1, 1)) |
|
336 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "a, b, c")[, c(2, 3)], |
|
337 |
+ c(1.3 * 1.5, 10 * 5)) |
|
338 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "b, c, e")[, c(2, 3)], |
|
339 |
+ c(1.5 * 1.1, 5)) |
|
340 |
+ expect_equivalent(dplyr::filter(ou, Genotype == "a, b, c, e")[, c(2, 3)], |
|
341 |
+ c(1.3 * 1.5 * 1.1, 10 * 5)) |
|
342 | 342 |
oo <- evalAllGenotypesFitAndMut(fe, fm) |
343 |
- expect_true(all(dplyr::filter(oo, Genotype == "a")[, c(2, 3)] == |
|
344 |
- c(1, 10))) |
|
345 |
- expect_true(all(dplyr::filter(oo, Genotype == "b")[, c(2, 3)] == |
|
346 |
- c(1, 1))) |
|
347 |
- expect_true(all(dplyr::filter(oo, Genotype == "c")[, c(2, 3)] == |
|
348 |
- c(1, 5))) |
|
349 |
- expect_true(all(dplyr::filter(oo, Genotype == "e")[, c(2, 3)] == |
|
350 |
- c(1.1, 1))) |
|
351 |
- expect_true(all(dplyr::filter(oo, Genotype == "a > b > c")[, c(2, 3)] == |
|
352 |
- c(1.3 * 1.5, 10 * 5))) |
|
353 |
- expect_true(all(dplyr::filter(oo, Genotype == "b > c > e")[, c(2, 3)] == |
|
354 |
- c(1.5 * 1.1, 5))) |
|
355 |
- expect_true(all(dplyr::filter(oo, Genotype == "e > b > c")[, c(2, 3)] == |
|
356 |
- c(1.5 * 1.1, 5))) |
|
357 |
- expect_true(all(dplyr::filter(oo, Genotype == "a > b > c > e")[, c(2, 3)] == |
|
358 |
- c(1.3 * 1.5 * 1.1, 10 * 5))) |
|
343 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "a")[, c(2, 3)], |
|
344 |
+ c(1, 10)) |
|
345 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "b")[, c(2, 3)], |
|
346 |
+ c(1, 1)) |
|
347 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "c")[, c(2, 3)], |
|
348 |
+ c(1, 5)) |
|
349 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "e")[, c(2, 3)], |
|
350 |
+ c(1.1, 1)) |
|
351 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "a > b > c")[, c(2, 3)], |
|
352 |
+ c(1.3 * 1.5, 10 * 5)) |
|
353 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "b > c > e")[, c(2, 3)], |
|
354 |
+ c(1.5 * 1.1, 5)) |
|
355 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "e > b > c")[, c(2, 3)], |
|
356 |
+ c(1.5 * 1.1, 5)) |
|
357 |
+ expect_equivalent(dplyr::filter(oo, Genotype == "a > b > c > e")[, c(2, 3)], |
|
358 |
+ c(1.3 * 1.5 * 1.1, 10 * 5)) |
|
359 | 359 |
}) |
360 | 360 |
|
361 | 361 |
|
... | ... |
@@ -386,11 +386,11 @@ test_that("Mutator, several modules differences, fitness eval", { |
386 | 386 |
addwt = TRUE) |
387 | 387 |
e2 <- evalAllGenotypesFitAndMut(f1, mut2, order = FALSE, |
388 | 388 |
addwt = TRUE) |
389 |
- expect_true(all(e1$Fitness == rep(1, 64))) |
|
390 |
- expect_true(all(e1$MutatorFactor == c(1, rep(5, 63)))) |
|
391 |
- expect_true(all(e2$Fitness == rep(1, 64))) |
|
392 |
- expect_true( |
|
393 |
- all(e2$MutatorFactor == |
|
389 |
+ expect_identical(e1$Fitness, rep(1, 64)) |
|
390 |
+ expect_identical(e1$MutatorFactor, c(1, rep(5, 63))) |
|
391 |
+ expect_identical(e2$Fitness, rep(1, 64)) |
|
392 |
+ expect_identical( |
|
393 |
+ e2$MutatorFactor, |
|
394 | 394 |
c(1, rep(5, 7), |
395 | 395 |
rep(25, 8), 5, |
396 | 396 |
rep(25, 4), 5, |
... | ... |
@@ -399,7 +399,7 @@ test_that("Mutator, several modules differences, fitness eval", { |
399 | 399 |
rep(125, 4), rep(25, 6), |
400 | 400 |
rep(125, 4), 25, |
401 | 401 |
rep(125, 8), 25, |
402 |
- rep(125, 7))) |
|
402 |
+ rep(125, 7)) |
|
403 | 403 |
) |
404 | 404 |
}) |
405 | 405 |
date() |
... | ... |
@@ -1,15 +1,15 @@ |
1 | 1 |
\usepackage[% |
2 |
- shash={d831b24}, |
|
3 |
- lhash={d831b24426e21df39341f9b0930cfc8550d842a1}, |
|
4 |
- authname={ramon diaz-uriarte (at Bufo)}, |
|
5 |
- authemail={rdiaz02@gmail.com}, |
|
2 |
+ shash={3486983}, |
|
3 |
+ lhash={348698385e2f09528be7eb816768bd8ec06b7e70}, |
|
4 |
+ authname={Ramon Diaz-Uriarte}, |
|
5 |
+ authemail={rdiaz02@users.noreply.github.com}, |
|
6 | 6 |
authsdate={2016-06-23}, |
7 |
- authidate={2016-06-23 17:39:18 +0200}, |
|
8 |
- authudate={1466696358}, |
|
9 |
- commname={ramon diaz-uriarte (at Bufo)}, |
|
10 |
- commemail={rdiaz02@gmail.com}, |
|
7 |
+ authidate={2016-06-23 19:01:20 +0200}, |
|
8 |
+ authudate={1466701280}, |
|
9 |
+ commname={Ramon Diaz-Uriarte}, |
|
10 |
+ commemail={rdiaz02@users.noreply.github.com}, |
|
11 | 11 |
commsdate={2016-06-23}, |
12 |
- commidate={2016-06-23 17:39:18 +0200}, |
|
13 |
- commudate={1466696358}, |
|
14 |
- refnames={ (HEAD -> master, origin/master, origin/HEAD)} |
|
12 |
+ commidate={2016-06-23 19:01:20 +0200}, |
|
13 |
+ commudate={1466701280}, |
|
14 |
+ refnames={ (HEAD, origin/master, origin/HEAD)} |
|
15 | 15 |
]{gitsetinfo} |
16 | 16 |
\ No newline at end of file |