| setPcaDf | R Documentation |
Safely adds data.frames containing the barcode-spot embedding of different dimensional reduction techniques. Cell embedding variables must be named as follows:
pca_df: PC1, PC2, PC3, ...
tsne_df: tsne1, tsne2, ...
umap_df: umap1, umap2, ...
setPcaDf(object, pca_df, fdb_fn = "stop")
setTsneDf(object, tsne_df, ...)
setUmapDf(object, umap_df, ...)
object |
An object of class |
pca_df, tsne_df, umap_df |
The data.frame composed of the variables barcodes, sample and the variables containing the barcode- spot embedding. |
... |
Used to absorb deprecated arguments or functions. |
All set*()-functions offer a save way to set certain
slots of your spata-object. They do check the input for validity but
effectively overwrite everything that is occupying the slot to be set -
use with caution.
A spata object containing the set input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.