get_allele_bulk {hahmmr}R Documentation

Aggregate into pseudobulk alelle profile

Description

Aggregate into pseudobulk alelle profile

Usage

get_allele_bulk(df_allele, gtf, genetic_map = NULL, nu = 0.5, min_depth = 0)

Arguments

df_allele

dataframe Single-cell allele counts

gtf

dataframe Transcript gtf

genetic_map

dataframe Genetic map

nu

numeric Phase switch rate

min_depth

integer Minimum coverage to filter SNPs

Value

dataframe Pseudobulk allele profile

Examples

bulk_example = get_allele_bulk(
    df_allele = df_allele_example,
    gtf = gtf_hg38)

[Package hahmmr version 1.0.0 Index]