R Under development (unstable) (2024-09-03 r87093 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(RCytoGPS) > ## simulate data > set.seed(53106) > CL <- RCytoGPS:::cytobandLocations > fake <- as.data.frame(matrix(runif(nrow(CL) * 10), ncol = 10)) > fake$PV <- runif(nrow(fake), 0, 1) > CL <- cbind(CL, fake) # extra colnames V1, ..., V10 > CD <- CytobandData(CL) > > ## clipping > image(CD, 7, list("V1", "V2")) > image(CD, 7, list("V1", "V2"), clip = TRUE) > > RCytoGPS:::plot2Chrom(CD@DATA, "V1", "V2", chr = 7, horiz = TRUE, clip = TRUE) > RCytoGPS:::plot2Chrom(CD@DATA, "V1", "V2", chr = 7, horiz = FALSE, clip = TRUE) > image(Chromosome(7, maxbase = 1.6e8), horiz = TRUE) > > proc.time() user system elapsed 1.04 0.12 1.14