TourExperiment object.R/AllGenerics.R
embed_nonlinear.RdCompute a non-linear embedding on a TourExperiment object.
embed_nonlinear(.data, num_comp, .on = NULL, normalize = TRUE, .parallel = BiocParallel::SerialParam(), .engine = tsne_approx(30, 12, 0.5))
| .data | A |
|---|---|
| num_comp | Number of components/dimensions to retain |
| .on | Where to compute the non-linear embedding? If NULL, the first assay is computed. |
| normalize | Avoid numerical precision issues by centering and scaling the input data. (Default = TRUE). |
| .parallel | Register a parallel backend, only used if computing nearest-neighbors prior to perfoming a non-linear embedding. |
| .engine | A |
This function computes a non-linear embedding over the parameters for a non-linear embedding algorithm and adjusts the reducedDim slot with the embedding coordinates.