prep_counts: Read tab or comma delimited count data.
Description
This function takes a count data file and returns the formatted data. Requires that init_data_paths() has been run.
Usage
prep_counts(count_input, delim = "t")
Arguments
count_input
Count data in tab-delimited or comma-delimited (CSV) format, assumes headers exist for each column.
Note that column names in the input count file must match row names in the input target metadata file.
delim
Indicate if file is comma or tab delimited. "t" indicated tab delimited and "c" indicates comma separated data. Default: "t"
Value
This function will return a properly formatted count data table based on a provided input file.