gammaFunction: Calculate gamma function of EM algorithm

Description Usage Arguments Value Author(s)

View source: R/calcProbs.R

Description

Takes binomial probabilites for every cluster and update these probabilies given the assigment of Pacbio reads to clusters.

Usage

1
2
gammaFunction(clust.prob = NULL, pi.scaled = NULL, cellNum = NULL,
  log.scale = FALSE)

Arguments

clust.prob

A list of binomial probabilities (multiplied by theta & pi parameter) of each PB read in every possible cluster

pi.scaled

Paramter estimate of the size of each cluster scaled by cell number

cellNum

Number of Strand-seq cells used for clustering.

Value

A matrix of unormalized probalities of cell states per cluster.

Author(s)

David Porubsky, Maryam Ghareghani


daewoooo/SaaRclust documentation built on May 28, 2019, 7:50 p.m.