readall_tab | R Documentation |
This function allows you to load tab-separated wiggle data.
Adapted from function written by Tovah Markowitz (original function name: readAll.tab
).
readall_tab(fileLocation, useReadr = TRUE, progressBar = TRUE,
localCopy = FALSE, asBedGraph = FALSE)
fileLocation |
A string with the path to the folder containing the wiggle data. No default. |
useReadr |
Boolean indicating whether to use the much faster |
progressBar |
Boolean indicating whether to display a progress bar (using R package
pbapply). Defaults to |
localCopy |
Boolean indicating whether to create local copy of target files before reading
data. If |
asBedGraph |
Boolean indicating whether to return the data in bedGraph-like format instead of
R list of 16 data frames. Genomic coordinates are kept as 1-based. Defaults to |
Either an R list of 16 data frames, one for each chromosome (asBedGraph=FALSE
)
or a bedGraph-like data frame (asBedGraph=TRUE
).
## Not run:
readall_tab("/Path/to/wiggles/folder/Red1_WT_reps_SacCer3_2mis_MACS_wiggle_norm/")
readall_tab("/Path/to/wiggles/", useReadr = TRUE, progressBar = TRUE)
readall_tab("/Path/to/wiggles/", useReadr = T, progressBar = T, localCopy = T)
#' readall_tab("/Path/to/wiggles/", asBedgraph = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.