SetVariantInfo
SetVariantInfo.Rd
We add the genotyping information for a set of variants to a Seurat object. The function returns a Seurat object with the values from the specified assay added as meta data.
Usage
SetVariantInfo(
SE,
seurat_object,
information = "consensus",
variants = NULL,
consensus_character = TRUE,
consensus_group = TRUE
)
Arguments
- SE
SummarizedExperiment object.
- seurat_object
The Seurat object.
- information
The assay with the desired information. Default: consensus
- variants
A vector of variants.
- consensus_character
Should the consensus information be save as a character value?
- consensus_group
Should the consensus groups Alt and Both be merged? Has no effect if information is not consensus.