genotype_conf: Compute confidence scores based on posterior probability for...

View source: R/genotype_conf.R

genotype_confR Documentation

Compute confidence scores based on posterior probability for each cell in a region.

Description

Compute confidence scores based on posterior probability for each cell in a region.

Usage

genotype_conf(X = NULL, gt = NULL)

Arguments

X:

A ncell by 2 dataframe. Column 1: normalized coverage (rho_hat); Column 2: theta_hat

gt:

A vector of lenth ncell. The numbers represent cell-level allele-specific copy number states.

Value

A lineage tree plot constructed using cell-level haplotype profiles across all regions.


seasoncloud/Alleloscope documentation built on March 17, 2023, 1:14 a.m.