View source: R/reorder.samples.computeMatrix.R
reorder.samples.computeMatrix | R Documentation |
A tool to reorder the samples in a computeMatrix file avoiding the re-computation of the latter.
## S3 method for class 'samples.computeMatrix'
reorder(
matrix.file,
new.sample.order = NULL,
reordered.matrix.path = gsub(".gz", "_reordered.gz", matrix.file),
ignore.header.error = FALSE,
verbose = TRUE
)
matrix.file |
String with the full path to a deeptools computeMatrix |
new.sample.order |
String vector with the sample labels in the order in which they should appear in the matrix. By default NULL, which returns a message with the sample labels in the original order. Further, it returns the vector with the original sample order. |
reordered.matrix.path |
String with full path to for the file of the reorder matrix (.gz). By default the output name will be |
ignore.header.error |
Logical value to indicate whether the error of sample_label reassignment in the header should be ignored. The plotted labels can be changed during the plotting. |
verbose |
Logical value to indicate whether the final message should be printed. By default |
The output is a computeMatrix file (.gz format) with the samples chucks re-shuffled to be in the order provided by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.