tests/callAllelicBalanceByBAFs.PairedPSCBS.R

library("aroma.cn")
options("PSCBS/preserveScale"=FALSE)

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"))

Try the aroma.cn package in your browser

Any scripts or data that you put into this service are public.

aroma.cn documentation built on July 21, 2022, 1:05 a.m.