Description Usage Arguments Value Functions See Also Examples
View source: R/archR_auxiliary_functionsI.R
Basis vectors' information for the selected iteration.
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)
|
res |
archR result object. |
iter |
Choose the iteration of archR result to get from. |
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.
get_clBasVec_k
: Get the number of basis vectors (clusters)
at the selected iteration.
get_clBasVec_m
: The basis vectors matrix at the selected
iteration. Note that eatures along rows.
get_seqClLab
: Get the cluster IDs for each sequence. Note that
order of sequences here is as per the input.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.