loadDefaultParameters(copyNumber = 5, numberClonalClusters = 1, skew = 0, symmetric = TRUE, data = NULL)
numeric
float indicating the heterozygous baseline shift for the allelic ratios towards 1. This is may be required for SOLiD data, but for most cases, this argument can be omitted.
logical
; if TRUE
, then treat genotypes as symmetric. See Details.
data
is the output of function loadAlleleCounts
. If provided and symmetric=TRUE
, then it will compute the median allelic ratio to use as the baseline for heterozygous genotypes; otherwise, the baseline will default to 0.55 (reference/depth) if data=NULL
. If symmetric=FALSE
, this argument will not be used.
list
containing 4 sets of parameters, each as a component:
skew
to help define the baseline. For example, if the data is skewed towards the reference, then use 0.1 so that the heterozygous baseline is at 0.6. The allelic ratio baseline is normally at 0.5.
sParams
, which represents the parameters for estimation of subclonality, always contains values for one cluster that represents the clonally dominant cluster (events present in nearly all tumour cells) with an initial value of sParams$s_0[1] = 0.001
.
Setting symmetric
to TRUE
will treat reference and non-reference alleles the same. For example, genotypes AA
(homozygous for reference allele) and BB
(homozygous for non-reference allele) as being equivalent. This will reduce the state space substantially.
loadAlleleCounts
#### LOAD PARAMETERS ####
numClusters <- 2
params <- loadDefaultParameters(copyNumber = 5,
numberClonalClusters = numClusters)
Run the code above in your browser using DataLab