Description Usage Arguments Value See Also Examples
Given a directory of tsv
files, read_dir()
will read in each file and
merge them into a single matrix. A dgCMatrix-class
matrix will be returned if the directory is named genefamilies_relab
and a
matrix
will be returned in all other cases. In either
case, the matrix will be returned as a named list
element
with the correct name to be used when uploading to AWS S3.
1 | read_dir(dir_path)
|
dir_path |
path to a directory of |
A single-element named list
(see above) with a
dgCMatrix-class
matrix or a matrix
.
1 2 3 4 5 | ## Not run:
read_dir("~/AsnicarF_2017/genefamilies_relab/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.