Usage
estProfileWithMBPCR(snpName, chr, position, logratio, chrToBeAnalyzed, maxProbeNumber, rhoSquare=NULL, kMax=50, nu=NULL, sigmaSquare=NULL, typeEstRho=1, regr=NULL)
Arguments
snpName
array containing the name of each probe
chr
array containing the name of the chromosome to which each of the probes belongs. The possible values of the elements of chr
are: the integers from 1 to 22, 'X' and 'Y'.
position
array containing the physical position of each probe
logratio
array containing the log2ratio of the raw copy number data
chrToBeAnalyzed
array containing the name of the chromosomes that the user wants to analyze. The possible values of the chromosomes are: the integers from 1 to 22, 'X' and 'Y'.
maxProbeNumber
maximum number of probes that a chromosome (or arm of a chromosome) can have to be analyzed. The procedure of profile estimation
needs the computation of an array of length $(length(chromosome)+1)*(length(chromosome)+2)/2$. To be sure to have set this parameter
correctly, try to create the array A <- array(1, dim=(maxProbeNumber+1)*(maxProbeNumber+2)/2)
, before starting with the estimation procedure.
rhoSquare
variance of the segment levels. If rhoSquare=NULL
, then the algorithm estimates it on the sample.
kMax
maximum number of segments
nu
mean of the segment levels. If nu=NULL
, then the algorithm estimates it on the sample.
sigmaSquare
variance of the noise. If sigmaSquare=NULL
, then the algorithm estimates it on the sample.
typeEstRho
choice of the estimator of rhoSquare
. If typeEstRho=1
, then the algorithm estimates rhoSquare
with $\hat{\rho}_1^2$, while if typeEstRho=0
, it estimates rhoSquare
with $\hat{\rho}^2$.
regr
choice of the computation of the regression curve. If regr=NULL
, then the regression curve is not computed,
if regr="BRC"
the Bayesian Regression Curve is computed (BRC with $K_2$), if regr="BRCAk"
the Bayesian
Regression Curve Averaging over k is computed (BRCAk).