prep_counts: Read tab or comma delimited count data.

Description Usage Arguments Value See Also Examples

Description

This function takes a count data file and returns the formatted data. Requires that init_data_paths() has been run.

Usage

1
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.

See Also

prep_targets, prep_dds_from_data, init_data_paths

Examples

1
2
3
4
5
6
7
## Not run: 

#Read a tab-delimited text file as count input.
myCounts <- prep_counts(count_input="master_count_data.txt", delim="t")


## End(Not run)

DEVis documentation built on May 2, 2019, 3:18 p.m.