joinWithPca.Rd
These functions add dimensional reduction results in form of additional variables to the provided spata data.frame.
joinWithPca(object, spata_df, n_pcs = NULL, verbose = NULL, force = FALSE, ...)
joinWithTsne(object, spata_df, verbose = NULL, force = FALSE, ...)
joinWithUmap(object, spata_df, verbose = NULL, force = FALSE, ...)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Numeric value or NULL
. If numeric, specifies the number of
principal components to use. If NULL
, all principal components are used
(as computed with runPCA()
).
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Logical. Only relevant if the spata data.frame provided already contains the variables that would be added with the function. If set to TRUE, the variables are added anyway.
Addtional arguments given to dplyr::left_join()
.
The input data.frame with the additional dimensional reduction variables