tLOHCalcUpdate: Assement of evidence for LOH in clusters from spatial...

tLOHCalcUpdateR Documentation

Assement of evidence for LOH in clusters from spatial transcriptomics allele count data

Description

Calculates Bayes factors for allele fractions at each SNP position. Uses dataframe output by tLOHDataImport.

Usage

tLOHCalcUpdate(forCalcDF, alpha1, beta1,alpha2, beta2, countThreshold)

Arguments

forCalcDF

Input dataframe generated from the tLOHDataImport function

alpha1

Model 1 alpha value

beta1

Model 1 beta value

alpha2

Model 2 alpha value

beta2

Model 2 beta value

countThreshold

Threshold for minimum number of read counts

Value

Output is a dataframe with Bayes Factor values

Author(s)

Michelle Webb

Examples

data('humanGBMsampleAC')
df <- tLOHCalcUpdate(humanGBMsampleAC, 1.25,1.25,500,500,4)
head(df)

USCDTG/tLOH documentation built on Oct. 23, 2022, 8:05 p.m.