SynSigParamsOneSignature: Extract parameters for one mutational signature profile

View source: R/CreateSynData.R

SynSigParamsOneSignatureR Documentation

Extract parameters for one mutational signature profile

Description

Extract parameters for one mutational signature profile

Usage

SynSigParamsOneSignature(counts, target.size = 1, distribution = NULL)

Arguments

counts

A vector of mutation counts attributed to one signature across length(counts) samples. TODO(Steve): rename to exposures

target.size

The length of genomic sequence from which the counts were derived, in megabases. Deprecated, set this to 1.

distribution

Probability distribution used to fit exposures due to one mutational signature. Can be neg.binom which stands for negative binomial distribution. If NULL (Default), then this function uses log normal distribution with base 10.

Value

  • For log normal distribution, a 3-element vector with names "prob", "mean", and "stdev".

  • For negative binomial distribution, a 3-element vector with names "prob", "size", and "mu".


steverozen/SynSigGen documentation built on April 1, 2022, 8:54 p.m.