appropriateSinglets: appropriateSinglets

Description Usage Arguments Value Author(s) Examples

Description

Sets up the singlets in long form for C++ calculation.

Usage

1
appropriateSinglets(singlets, idx, features = NULL)

Arguments

singlets

A CIMseqSinglets object.

idx

numeric; Singlet indices to subset. Generated with the sampleSinglets function. THIS IS ZERO BASED since upstream calculations are done in C++.

features

numeric; Indices of selected features used for deconvolution. If null, all genes are used.

...

additional arguments to pass on

Value

Appropriated singlets.

Author(s)

Jason T. Serviss

Examples

1
2
3
classes <- getData(CIMseqSinglets_test, "classification")
idx <- purrr::map(1:10, ~sampleSinglets(classes))
out <- singletSubset <- appropriateSinglets(CIMseqSinglets_test, idx, 1:20)

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