View source: R/seurat_interaction.R
add_to_seurat | R Documentation |
Add meta.data about CNAs to a Seurat object from an infercnv_obj
add_to_seurat(
seurat_obj = NULL,
assay_name = "RNA",
infercnv_output_path,
top_n = 10,
bp_tolerance = 2e+06,
column_prefix = NULL
)
seurat_obj |
Seurat object to add meta.data to (default: NULL) |
assay_name |
Name of the assay in the Seurat object if provided. (default: "RNA") |
infercnv_output_path |
Path to the output folder of the infercnv run to use |
top_n |
How many of the largest CNA (in number of genes) to get. |
bp_tolerance |
How many bp of tolerance to have around feature start/end positions for top_n largest CNVs. |
column_prefix |
String to add as a prefix to the Seurat metadata columns. Only applied to the seurat_obj, if supplied. Default is NULL |
seurat_obj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.