Description Usage Arguments Value Examples
A function that collect and combine data from multiple csv files of the same format.
1 | collectData(files, longform = TRUE)
|
files |
A vector containing the paths of csv files to be combined. |
longform |
True or False. Used to specify if the table in each csv file should be converted into long form before combining. |
A dataframe containing combined information from multiple csv files.
1 2 3 4 5 | # find all the files we want to combine
fn=system.file("extdata","",package="MetaCyto")
fn=list.files(fn,pattern="cluster_stats_in_each_sample",full.names=TRUE)
# Comine the data
all_data = collectData(fn,longform=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.