add_demux_vireo: Add genetic demultiplexing results to a SCE object from Vireo

View source: R/add_vireo_calls.R

add_demux_vireoR Documentation

Add genetic demultiplexing results to a SCE object from Vireo

Description

Add genetic demultiplexing results to a SCE object from Vireo

Usage

add_demux_vireo(sce, vireo_table)

Arguments

sce

SingleCellExperiment object.

vireo_table

A data frame of vireo results. The expected format is that of the vireo 'donor_ids.tsv' file, minimally containing columns 'cell' and 'donor_id' (but likely to contain other statistics as well).

Value

SingleCellExperiment with a 'colData' column 'vireo_sampleid' containing the confident demultiplexing calls. Other results imported from the vireo data frame are included in 'colData' as well, with the prefix 'vireo_'. See https://vireosnp.readthedocs.io/ for more information.

Examples

## Not run: 
# add cell calls from a vireo data frame
add_demux_vireo(sce, vireo_table = vireo_df)

## End(Not run)

AlexsLemonade/scpcaTools documentation built on July 12, 2024, 8:34 a.m.