Description Usage Arguments Details Value References Examples
View source: R/BASiCS-simulate.R
Simulate counts using the BASiCS method.
1 2 3 4 5 6 | BASiCSSimulate(
params = newBASiCSParams(),
sparsify = TRUE,
verbose = TRUE,
...
)
|
params |
BASiCSParams object containing simulation parameters. |
sparsify |
logical. Whether to automatically convert assays to sparse matrices if there will be a size reduction. |
verbose |
logical. Whether to print progress messages |
... |
any additional parameter settings to override what is provided in
|
This function is just a wrapper around BASiCS_Sim
that
takes a BASiCSParams
, runs the simulation then converts the
output to a SingleCellExperiment
object.
See BASiCS_Sim
for more details of how the simulation
works.
SingleCellExperiment containing simulated counts
Vallejos CA, Marioni JC, Richardson S. BASiCS: Bayesian Analysis of Single-Cell Sequencing data. PLoS Computational Biology (2015).
Paper: 10.1371/journal.pcbi.1004333
Code: https://github.com/catavallejos/BASiCS
1 2 3 | if (requireNamespace("BASiCS", quietly = TRUE)) {
sim <- BASiCSSimulate()
}
|
Loading required package: scater
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: ggplot2
Attaching package: 'scater'
The following object is masked from 'package:stats':
filter
Warning messages:
1: no function found corresponding to methods exports from 'DelayedArray' for: 'acbind', 'arbind'
2: no function found corresponding to methods exports from 'SummarizedExperiment' for: 'acbind', 'arbind'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.