add_to_seurat: add_to_seurat()

Description Usage Arguments Value

View source: R/seurat_interaction.R

Description

Add meta.data about CNAs to a Seurat object from an infercnv_obj

Usage

1
2
3
4
5
6
add_to_seurat(
  seurat_obj = NULL,
  infercnv_output_path,
  top_n = 10,
  bp_tolerance = 2e+06
)

Arguments

seurat_obj

Seurat object to add meta.data to (default: NULL)

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.

Value

seurat_obj


infercnv documentation built on Nov. 8, 2020, 11:10 p.m.