prep_targets: Read tab or comma delimited target metadata file.

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
prep_targets(target_input, delim = "t")

Arguments

target_input

Target data in tab separated 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 targets data table based on a provided input file.

See Also

prep_counts, prep_dds_from_data, init_data_paths

Examples

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

#Read a tab-delimited text file as target metadata input.
myTargets <- prep_targets(target_input="master_count_data.txt", delim="t")


## End(Not run)

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