getCountsMetaPart | R Documentation |
Creates a part of counts collections meta-data
getCountsMetaPart(counts_dir, collection_name, verbose)
counts_dir |
path to directory with count collections |
collection_name |
name of collection and collection's directory |
verbose |
logical value which determines a content of the output. |
Function assumes that collection_name
contains meta.txt
which is valid (in sence of validateCountsCollection
).
For each row in meta.txt
function reads specified sample_id
dataset and writes every sample id to the resulting data.table
with source file name and collection name.
data.table
with meta-data or nothing if destdir
does not exist or does not contain files.
validateCountsCollection
,getCountsMetaPart
## Not run:
collDir <- "/path/to/my/collection"
valid_collection = validateCountsCollection(collectionDir = collDir, verbose = TRUE)
if (valid_collection){
metaPart = getCountsMetaPart(destdir = collDir, verbose = TRUE)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.