Save the cell metadata and the reduction embeddings as a single table.
save_metadata.RdJoins the requested reductions onto the cell metadata on a cell column.
Reductions that are not present in the object are skipped, so this works
before and after the dimensionality reduction steps have run.
Usage
save_metadata(
x,
reduction = c("tsne", "umap"),
digits = 3,
file = "metadata.csv.gz"
)