# NOT RUN {
# Load toy dataset of absolute copynumber profile
load(system.file("extdata", "toy_segTab.RData",
package = "sigminer", mustWork = TRUE
))
cn <- read_copynumber(segTabs,
seg_cols = c("chromosome", "start", "end", "segVal"),
genome_build = "hg19", complement = FALSE
)
cn
cn_subset <- subset(cn, sample == "TCGA-DF-A2KN-01A-11D-A17U-01")
tab_file <- system.file("extdata", "metastatic_tumor.segtab.txt",
package = "sigminer", mustWork = TRUE
)
cn2 <- read_copynumber(tab_file)
cn2
# }
Run the code above in your browser using DataLab