write.split.samples: Split and write results in one file per sample

Description Usage Arguments Value Author(s)

View source: R/write.split.samples.R

Description

Split join results into one file per sample per feature. For example to split and write the Z-scores of reference samples after joined computation.

Usage

1
2
write.split.samples(res, files.df, samples = NULL, files.col = c("z", "fc"),
  compress.index = TRUE, nb.cores = 1, append = FALSE, reorder = FALSE)

Arguments

res

a list with the results to split/write.

files.df

a data.frame with information about each output file.

samples

the names of the samples to use.

files.col

the name of 'files.df' column to use for each 'res' element.

compress.index

should the output be compressed and indexed. Default is TRUE.

nb.cores

the number of computing cores to use. Default is 1.

append

should the results be appended at the end of existing files. Default is FALSE.

reorder

If 'compress.index=TRUE', should the files be reordered before compression/indexing. Default is FALSE.

Value

'Done' if everything worked fine.

Author(s)

Jean Monlong


jmonlong/PopSV documentation built on Sept. 15, 2019, 9:29 p.m.