get_clBasVec: Get functions for archR result object

Description Usage Arguments Value Functions See Also Examples

View source: R/archR_auxiliary_functionsI.R

Description

Basis vectors' information for the selected iteration.

Usage

1
2
3
4
5
6
7
get_clBasVec(res, iter)

get_clBasVec_k(res, iter)

get_clBasVec_m(res, iter)

get_seqClLab(res, iter = NULL)

Arguments

res

archR result object.

iter

Choose the iteration of archR result to get from.

Value

A list with two elements 'nBasisVectors' (integer) and 'basisVectors' (matrix).

The number of basis vectors (integer).

The basis vectors' matrix with features along the rows of the matrix.

A character vector denoting the cluster IDs for each sequence.

Functions

See Also

seqs_str

Examples

1
2
3
4
5
6
7
8
9
res <- readRDS(system.file("extdata", "example_archRresult.rds",
         package = "archR", mustWork = TRUE))

k <- get_clBasVec_k(res=res, iter=2)

bMat <- get_clBasVec_m(res=res, iter=2)

## cluster labels of sequences from final clustering
scLab <- get_seqClLab(res=res, iter=2)

snikumbh/archR documentation built on July 5, 2021, 8:46 a.m.