Learn R Programming

numbat (version 1.4.2)

preprocess_allele: Preprocess allele data

Description

Preprocess allele data

Usage

preprocess_allele(sample, vcf_pu, vcf_phased, AD, DP, barcodes, gtf, gmap)

Value

dataframe Allele counts by cell

Arguments

sample

character Sample label

vcf_pu

dataframe Pileup VCF from cell-snp-lite

vcf_phased

dataframe Phased VCF from eagle2

AD

dgTMatrix Alt allele depth matrix from pileup

DP

dgTMatrix Total allele depth matrix from pileup

barcodes

vector List of barcodes from pileup

gtf

dataframe Transcript GTF

gmap

dataframe Genetic map