calculateSumOfPosteriors: Calculate sum of posteriors

View source: R/cnsignature_functions.R

calculateSumOfPosteriorsR Documentation

Calculate sum of posteriors

Description

Helper function for generateSampleByComponentMatrix. Approach developed by Geoff Macintyre et al. 2018

Usage

calculateSumOfPosteriors(
  CN_feature,
  components,
  name,
  rowIter = 1000,
  cores = 1
)

Arguments

CN_feature

feature of the copy-number profiles

components

components of copy-number signatures

name

name of the component

rowIter

iterations for calculation of sum of posteriors. Default is 1000

cores

number of cores to use. Default is 1

Value

Sum of posteriors per component


macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.