Skip to content

Commit

Permalink
Last try
Browse files Browse the repository at this point in the history
  • Loading branch information
sthawinke committed Apr 8, 2020
1 parent 7d3e18f commit 8c93351
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: SPsimSeq
Title: Semi-parametric simulation tool for bulk and single-cell RNA sequencing data
Version: 0.99.9
Version: 0.99.10
Authors@R:
c(person(given = "Alemu Takele",
family = "Assefa",
Expand Down Expand Up @@ -49,3 +49,4 @@ Suggests:
LSD,
testthat
VignetteBuilder: knitr
Depends: R (>= 4.0)
6 changes: 3 additions & 3 deletions R/SPsimSeq.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
#'
#' # simulate data
#' set.seed(6452)
#' sim.data.bulk <- SPsimSeq(n.sim = 1, s.data = zhang.counts,
#' group = MYCN.status, n.genes = 100, batch.config = 1,
#' sim.data.bulk <- SPsimSeq(n.sim = 1, s.data = zhang.counts[seq_len(500),],
#' group = MYCN.status, n.genes = 50, batch.config = 1,
#' group.config = c(0.5, 0.5), tot.samples = 8,
#' pDE = 0.1, lfc.thrld = 0.5, result.format = "list")
#' head(sim.data.bulk$counts[[1]][, seq_len(5)]) # count data
Expand Down Expand Up @@ -130,7 +130,7 @@
#' treatment <- ifelse(scNGP.data$characteristics..treatment=="nutlin",2,1)
#' set.seed(654321)
#' # simulate data (we simulate here only a single data, n.sim = 1)
#' sim.data.sc <- SPsimSeq(n.sim = 1, s.data = scNGP.data[seq_len(1000),], group = treatment,
#' sim.data.sc <- SPsimSeq(n.sim = 1, s.data = scNGP.data[seq_len(500),], group = treatment,
#' n.genes = 40, batch.config = 1, group.config = c(0.5, 0.5),
#' tot.samples = 6, pDE = 0.1, lfc.thrld = 0.5, model.zero.prob = FALSE,
#' result.format = "SCE")
Expand Down

0 comments on commit 8c93351

Please sign in to comment.