seurat_transfer_data: Seurat Transfer Data

Description Usage Arguments Examples

View source: R/seurat_transfer_data.R

Description

This function allows you to classify cells in the list of datasets using the reference with the Seurat transferData() function

Usage

1
2
3
4
5
6
7
8
seurat_transfer_data(
  reference,
  datasets,
  results_name = "results",
  ordering_vector = "none",
  cluster_names = "none",
  cluster_colors = "none"
)

Arguments

reference

Path to a Seurat object that is an integrated reference

datasets

List of directories containing a Seurat object Example single directory path is "~/Documents/Projects/Data_files_temp/Donor/SBM1014/Seurat.rds"

results_name

The name you would prefer to call the output directory. Default is "results"

ordering_vector

A numeric vector containing the order you would like your clusters to appear in the plot, starting with 1. Default is "none", which retains the original order.

cluster_names

A character vector containing the names of the clusters, in the original order. Default is "none" or cluster numbers to be used.

cluster_colors

A character vector containing hex codes for the colors of cluster, in the original order. Default is "none" for random colors.

Examples

1

EDePasquale/Ericas_Functions documentation built on Dec. 17, 2021, 5:38 p.m.