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
ceefcda7
Commit
ceefcda7
authored
8 years ago
by
Luke Zappia
Browse files
Options
Downloads
Patches
Plain Diff
Run checks
parent
558a440c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
R/scDD-estimate.R
+5
-0
5 additions, 0 deletions
R/scDD-estimate.R
man/SplatParams.Rd
+1
-1
1 addition, 1 deletion
man/SplatParams.Rd
man/setParams.Rd
+1
-3
1 addition, 3 deletions
man/setParams.Rd
man/setParamsUnchecked.Rd
+1
-3
1 addition, 3 deletions
man/setParamsUnchecked.Rd
with
8 additions
and
7 deletions
R/scDD-estimate.R
+
5
−
0
View file @
ceefcda7
...
...
@@ -36,6 +36,11 @@ scDDEstimate.SCESet <- function(counts, conditions, params = newSCDDParams()) {
#' @export
scDDEstimate.matrix
<-
function
(
counts
,
conditions
,
params
=
newSCDDParams
())
{
if
(
!
requireNamespace
(
"scDD"
,
quietly
=
TRUE
))
{
stop
(
"The scDD simulation requires the 'scDD' package. "
,
"See https://github.com/kdkorthauer/scDD for installation."
)
}
checkmate
::
assertClass
(
params
,
"SCDDParams"
)
checkmate
::
assertIntegerish
(
conditions
,
len
=
ncol
(
counts
),
lower
=
1
,
upper
=
2
)
...
...
This diff is collapsed.
Click to expand it.
man/SplatParams.Rd
+
1
−
1
View file @
ceefcda7
...
...
@@ -52,7 +52,7 @@ The Splatter simulation requires the following parameters:
\describe{
\item{\code{[de.prob]}}{Probability that a gene is differentially
expressed in a group. Can be a vector.}
\item{\code{[de.loProb]}}{Probability that differentially expressed
\item{\code{[de.loProb]}}{Probability that
a
differentially expressed
gene is down-regulated. Can be a vector.}
\item{\code{[de.facLoc]}}{Location (meanlog) parameter for the
differential expression factor log-normal distribution. Can be a
...
...
This diff is collapsed.
Click to expand it.
man/setParams.Rd
+
1
−
3
View file @
ceefcda7
...
...
@@ -4,7 +4,7 @@
\alias{setParams}
\title{Set parameters}
\usage{
setParams(params, update = NULL,
checkValid = TRUE,
...)
setParams(params, update = NULL, ...)
}
\arguments{
\item{params}{Params object to set parameters in.}
...
...
@@ -12,8 +12,6 @@ setParams(params, update = NULL, checkValid = TRUE, ...)
\item{update}{list of parameters to set where \code{names(update)} are the
names of the parameters to set and the items in the list are values.}
\item{checkValid}{logical. Whether to check set object is valid.}
\item{...}{additional parameters to set. These are combined with any
parameters specified in \code{update}.}
}
...
...
This diff is collapsed.
Click to expand it.
man/setParamsUnchecked.Rd
+
1
−
3
View file @
ceefcda7
...
...
@@ -4,7 +4,7 @@
\alias{setParamsUnchecked}
\title{Set parameters UNCHECKED}
\usage{
setParamsUnchecked(params, update = NULL,
checkValid = TRUE,
...)
setParamsUnchecked(params, update = NULL, ...)
}
\arguments{
\item{params}{Params object to set parameters in.}
...
...
@@ -12,8 +12,6 @@ setParamsUnchecked(params, update = NULL, checkValid = TRUE, ...)
\item{update}{list of parameters to set where \code{names(update)} are the
names of the parameters to set and the items in the list are values.}
\item{checkValid}{logical. Whether to check set object is valid.}
\item{...}{additional parameters to set. These are combined with any
parameters specified in \code{update}.}
}
...
...
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