CIMseqSwarm: CIMseqSwarm

Description Usage Arguments Value Author(s) Examples

Description

Multiplet deconvolution.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## 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, maxiter = 10, swarmsize = 150,
  nSyntheticMultiplets = 200, seed = 11, norm = TRUE,
  report = FALSE, reportRate = NA, permute = FALSE,
  singletIdx = NULL, swarmInit = NULL, psoControl = list(), ...)

## S4 method for signature 'CIMseqSwarm'
initialize(.Object, ..., fractions, costs,
  convergence, stats, singletIdx, arguments)

## S4 method for signature 'CIMseqSwarm'
show(object)

Arguments

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.

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.

swarmInit

matrix; Initiation positions for the swarm.

psoControl

list; Additional arguments to pso.2.0 (psoptim) function.

.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.

Value

CIMseqSwarm output.

Author(s)

Jason T. Serviss

Examples

1
#use demo data

jasonserviss/CIMseq documentation built on Jan. 11, 2020, 4:42 a.m.