Usage
aspcf(logR, BAF, pos.unit = "bp", arms = NULL, kmin = 5, gamma = 40,
baf.thres=c(0.1,0.9), skew = 3, assembly= "hg19", digits = 4,
return.est = FALSE, save.res = FALSE, file.names=NULL, verbose = TRUE)
Arguments
logR
either a data frame or the name of a tab-separated file from which copy number data can be read. The rows of the data frame or file should represent the probes. Column 1 must hold numeric or character chromosome numbers, column 2 the numeric local probe positions, and subsequent columns the numeric copy number measurements for one or more samples. The header of copy number column(s) should give sample ID(s).
BAF
either a data frame or the name of a tab-separated file from which B-allelle frequency data can be read. Must be on the same format and size as logR
, with chromosomes and local probe positions in the two first columns, and numeric BAF-measurements for one or more samples in subsequent columns.
pos.unit
the unit used to represent the probe positions. Allowed options are "mbp" (mega base pairs), "kbp" (kilo base pairs) or "bp" (base pairs). By default assumed to be "bp".
arms
optional character vector containing chromosome arms (denoted 'p' and 'q') corresponding to the chromosomes and positions found in logR
and BAF
. If not specified chromosome arms are found using the built-in genome assembly version determined by assembly
.
kmin
minimum number of probes in each segment, default is 5.
gamma
penalty for each discontinuity in the curve, default is 40.
baf.thres
a numeric vector of length two giving the thresholds below and above which BAF probes are considered germline homozygous. Must be in the range 0 to 1, default is 0.1 and 0.9 for the lower and upper limit, respectively.
skew
a numeric value used to determine whether there is allelic skewness (one or two bands) in BAF. Default is 3. The larger the value the further the BAF measurements must be from 0.5 to imply two bands.
assembly
a string specifying which genome assembly version should be applied to determine chromosome arms. Allowed options are "hg19", "hg18", "hg17" and "hg16" (corresponding to the four latest human genome annotations in the UCSC genome browser).
digits
the number of decimals to be applied when reporting results. Default is 4.
return.est
logical value indicating whether a data frame holding LogR estimates should be returned along with the segments. Default is FALSE, which means that only segments are returned.
save.res
logical value indicating whether results should be saved in text files, default is FALSE.
file.names
optional character vector of length two giving the name of the files where the logR estimates and segments, respectively, should be saved in case save.res=TRUE
.
verbose
logical value indicating whether or not to print a progress message each time aspcf analysis is finished for a new chromosome arm.