Description Usage Arguments Details Value Author(s) Examples
Subtitle
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ## S4 method for signature 'CIMseqSwarm'
getData(x, n = NULL)
## S4 method for signature 'CIMseqSwarm'
c(x, ...)
## S4 method for signature 'CIMseqSwarm'
filterSwarm(x, subset)
CIMseqSwarm(singlets, multiplets, ...)
## S4 method for signature 'CIMseqSinglets,CIMseqMultiplets'
CIMseqSwarm(
singlets,
multiplets,
useMuSiC = FALSE,
maxiter = 10,
swarmsize = 150,
nSyntheticMultiplets = 200,
seed = 11,
norm = TRUE,
report = FALSE,
reportRate = NA,
vectorize = FALSE,
permute = FALSE,
singletIdx = NULL,
cacheScores = FALSE,
psoControl = list(),
startSwarm = NULL,
topK = NULL,
multiplet.factor = NA,
...
)
## S4 method for signature 'CIMseqSwarm'
initialize(
.Object,
...,
fractions,
costs,
convergence,
stats,
singletIdx,
arguments
)
## S4 method for signature 'CIMseqSwarm'
show(object)
|
x |
CIMseqSwarm; A CIMseqSwarm object. |
n |
character; Data to extract from CIMseqSwarm object. |
... |
additional arguments to pass on. |
subset |
Indicates samples to be retained. Can be a character vector of sample names, a logical vector, or integer vector indicating sample indices. |
singlets |
CIMseqSinglets; A CIMseqSinglets object. |
multiplets |
CIMseqMultiplets; A CIMseqMultiplets object. |
maxiter |
integer; The maximum optimization iterations. |
swarmsize |
integer; The number of swarm particals. |
nSyntheticMultiplets |
Numeric; Value indicating the number of synthetic multiplets to generate during deconvolution. |
seed |
integer; Seed to set before running. |
norm |
logical; Indicates if the sum of fractions should equal 1. |
report |
logical; Indicates if additional reporting from the optimization should be included. |
reportRate |
integer; If report is TRUE, the iteration interval for which a report should be generated. |
vectorize |
logical, Argument to psoptim. |
permute |
logical; indicates if genes should be permuted before deconvolution. For use with permutation testing. @param singletIdx list; Singlet indexes to be used to choose singlets and synthesize synthetic multiplets. Facilitates using the same synthetic set e.g. with repeated runs or permutation. |
singletIdx |
list; Indexes indicating singlets that were subset to synthesize synthetic multiplets. Facilitates recreation of the synthetic multiplets downstream. |
cacheScores |
logical; Use score caching optimization (experimental) Requires R package hashmap to be installed |
.Object |
Internal object. |
fractions |
matrix; The deconvolution results. |
costs |
numeric; The costs after optimization. |
convergence |
character; The convergence output from psoptim. One value per multiplet. |
stats |
tbl_df; The stats output from psoptim |
arguments |
list; Arguments passed to the CIMseqSwarm function. |
object |
CIMseqSwarm; A CIMseqSwarm to show. |
swarmPos |
matrix; Final swarm positions from psoptim |
Description
CIMseqSwarm output.
Jason T. Serviss
1 | #use demo data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.