Learn R Programming

DEVis (version 1.0.1)

prep_targets: Read tab or comma delimited target metadata file.

Description

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

Usage

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

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

# }

Run the code above in your browser using DataLab