Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sirplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioCellGen-public
sirplus
Commits
31fb64a3
Commit
31fb64a3
authored
7 years ago
by
Luke Zappia
Browse files
Options
Downloads
Patches
Plain Diff
Update SCDDParams
parent
f2f4f84f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
R/AllClasses.R
+4
-4
4 additions, 4 deletions
R/AllClasses.R
R/SCDDParams-methods.R
+3
-3
3 additions, 3 deletions
R/SCDDParams-methods.R
man/SCDDParams.Rd
+3
-3
3 additions, 3 deletions
man/SCDDParams.Rd
with
10 additions
and
10 deletions
R/AllClasses.R
+
4
−
4
View file @
31fb64a3
...
...
@@ -409,7 +409,7 @@ setClass("Lun2Params",
#' \item{\code{nCells}}{The number of cells to simulate in each condition.}
#' \item{\code{[seed]}}{Seed to use for generating random numbers.}
#' \item{\code{SCdat}}{
#' \code{\link[S
ummarized
Experiment]{S
ummarized
Experiment}} containing real
#' \code{\link[S
ingleCell
Experiment]{S
ingleCell
Experiment}} containing real
#' data.}
#' \item{\code{nDE}}{Number of DE genes to simulate.}
#' \item{\code{nDP}}{Number of DP genes to simulate.}
...
...
@@ -427,8 +427,8 @@ setClass("Lun2Params",
#'
#' The parameters not shown in brackets can be estimated from real data using
#' \code{\link{scDDEstimate}}. See \code{\link[scDD]{simulateSet}} for more
#' details
of
the parameters. For details of the Splatter implementation of
the
#' scDD simulation see \code{\link{scDDSimulate}}.
#' details
about
the parameters. For details of the Splatter implementation of
#'
the
scDD simulation see \code{\link{scDDSimulate}}.
#'
#' @name SCDDParams
#' @rdname SCDDParams
...
...
@@ -448,7 +448,7 @@ setClass("SCDDParams",
varInflation
=
"numeric"
,
condition
=
"character"
),
prototype
=
prototype
(
SCdat
=
S
ummarized
Experiment
::
S
ummarized
Experiment
(),
S
ingleCell
Experiment
::
S
ingleCell
Experiment
(),
nCells
=
100
,
nDE
=
250
,
nDP
=
250
,
...
...
This diff is collapsed.
Click to expand it.
R/SCDDParams-methods.R
+
3
−
3
View file @
31fb64a3
...
...
@@ -26,7 +26,7 @@ setValidity("SCDDParams", function(object) {
checks
<-
c
(
nGenes
=
checkInt
(
v
$
nGenes
,
lower
=
1
),
nCells
=
checkInt
(
v
$
nCells
,
lower
=
1
),
seed
=
checkInt
(
v
$
seed
,
lower
=
0
),
SCDat
=
checkClass
(
v
$
SCdat
,
"S
ummarized
Experiment"
),
SCDat
=
checkClass
(
v
$
SCdat
,
"S
ingleCell
Experiment"
),
nDE
=
checkInt
(
v
$
nDE
,
lower
=
0
),
nDP
=
checkInt
(
v
$
nDP
,
lower
=
0
),
nDM
=
checkInt
(
v
$
nDM
,
lower
=
0
),
...
...
@@ -102,8 +102,8 @@ setMethod("show", "SCDDParams", function(object) {
SCdat
<-
getParam
(
object
,
"SCdat"
)
cat
(
"Data:"
,
"\n"
)
cat
(
"(SCdat)"
,
"\n"
)
cat
(
"S
ummarized
Experiment with"
,
dim
(
SCdat
)[
1
],
"features and"
,
dim
(
SCdat
)[
2
],
"
sample
s"
,
"\n\n"
)
cat
(
"S
ingleCell
Experiment with"
,
dim
(
SCdat
)[
1
],
"features and"
,
dim
(
SCdat
)[
2
],
"
cell
s"
,
"\n\n"
)
showPP
(
object
,
pp
)
})
This diff is collapsed.
Click to expand it.
man/SCDDParams.Rd
+
3
−
3
View file @
31fb64a3
...
...
@@ -18,7 +18,7 @@ The SCDD simulation uses the following parameters:
\item{\code{nCells}}{The number of cells to simulate in each condition.}
\item{\code{[seed]}}{Seed to use for generating random numbers.}
\item{\code{SCdat}}{
\code{\link[S
ummarized
Experiment]{S
ummarized
Experiment}} containing real
\code{\link[S
ingleCell
Experiment]{S
ingleCell
Experiment}} containing real
data.}
\item{\code{nDE}}{Number of DE genes to simulate.}
\item{\code{nDP}}{Number of DP genes to simulate.}
...
...
@@ -36,7 +36,7 @@ The SCDD simulation uses the following parameters:
The parameters not shown in brackets can be estimated from real data using
\code{\link{scDDEstimate}}. See \code{\link[scDD]{simulateSet}} for more
details
of
the parameters. For details of the Splatter implementation of
the
scDD simulation see \code{\link{scDDSimulate}}.
details
about
the parameters. For details of the Splatter implementation of
the
scDD simulation see \code{\link{scDDSimulate}}.
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment