add_to_seurat {infercnv} | R Documentation

## add_to_seurat()

### Description

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

### Usage

    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

[Package infercnv version 1.10.1 Index]