Description Usage Arguments Details Value Progress updates Examples
View source: R/split_by_celltype_chromosome.R
Split Per-Cell Type Compiled File Data into Per Chromosome
1 2 3 4 5 6 | split_by_celltype_chromosome(
celltypes = list(human = c("HAP1", "HeLa", "GM12878", "K562", "Asynchronous",
"Nocadazole"), mouse = c("MEF", "Patski")),
chromosomes = 1:25,
path = "compiledData"
)
|
celltypes |
A named list of character vectors. |
chromosomes |
Integer vector of chromosomes to be considered. |
path |
The folder where input files are located and where output files are written. |
This function operates on files produces by split_by_celltype.
A named list of the same structure as celltypes
but
where the character string are pathnames to files produced.
This function signals progressr::progression updates. To visualize, or in other ways render, progress information, wrap the call inside a progressr::with_progress call.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
progressr::with_progress({
files <- TopDomStudy::split_by_celltype_chromosome(
celltypes=list(human="HAP1"), chromosomes=c(12,16,22),
path="compiledData")
})
print(files)
# $human
# $human$HAP1
# chr=12
# "compiledData/human,HAP1,unique,chr=12.rds"
# chr=16
# "compiledData/human,HAP1,unique,chr=16.rds"
# chr=22
# "compiledData/human,HAP1,unique,chr=22.rds"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.