Description Usage Arguments Value Examples
exportDNAlandscapeR
takes a sparseHiCdatum
object
and produces two files, a .rds and a .sparseHiC.meta file
that can be used in DNAlandscapeR (dnalandscaper.aryeelab.org). If
splitByChr is specified as TRUE, will create a folder with the sample
name and an .rds of each chromosome for faster i/o. These split files
can only be linked via a bucket in DNAlandscapeR.
1 2 3 4 5 6 | exportDNAlandscapeR(dat, newSampleName = "", out.dir = "",
splitByChr = FALSE)
## S4 method for signature 'sparseHiCdatum'
exportDNAlandscapeR(dat, newSampleName = "",
out.dir = "", splitByChr = FALSE)
|
dat |
A |
newSampleName |
= "" New sample name for the object, if desired. Current one in the object is used by default. |
out.dir |
= "" The output directory to save the new tarball |
splitByChr |
= FALSE Split .rds files by chromosome for faster i/o in browser? |
Will produce two files in the specified out.dir
1 2 3 4 5 6 7 8 | # matrix.files <- paste(system.file("extdata", package = "processedHiCdata"),
#"HiC-Pro/hESC_Rep1/hESC_Rep1_1000000_iced.matrix", sep = "/")
#bed.files <- paste(system.file("extdata", package = "processedHiCdata"),
#"HiC-Pro/hESC_Rep1/hESC_Rep1_1000000_abs.bed", sep = "/")
genomeBuild <- "hg19"
resolutions <- "1000000"
#exportDNAlandscapeR(matrix.files, bed.files, resolutions,
#sampleName = "hESC1", genomeBuild, splitByChr = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.