callAllelicBalanceByBAFs.PairedPSCBS | R Documentation |
Calls regions that are in allelic balance from the allele B fractions (BAF).
## S3 method for class 'PairedPSCBS'
callAllelicBalanceByBAFs(fit, maxScore="auto", ..., force=FALSE, cache=FALSE,
verbose=FALSE)
fit |
A |
maxScore |
A positive |
... |
Not used. |
force |
If |
verbose |
See |
Returns a PairedPSCBS
fit object
where columns for allelic imbalance scores and
p-values as well as allelic balance calls are added.
Henrik Bengtsson, Pierre Neuvial
Internally, testAllelicBalanceByBAFs
() is used.
Note that this AB caller differs from the default one in the
PSCBS package, cf. callAB.PairedPSCBS
.
if (Sys.getenv("_R_CHECK_FULL_") != "" && require("PSCBS")) {
# Load example ASCN data
data <- PSCBS::exampleData("paired.chr01");
# PSCBS segmentation
fit <- segmentByPairedPSCBS(data, verbose=-10);
# Normalize
fitN <- normalizeBAFsByRegions(fit, verbose=-10);
fitN2 <- callAllelicBalanceByBAFs(fitN, verbose=-10);
print(fitN2);
} # if (require("PSCBS"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.