Description Usage Arguments Details Value See Also Examples
importTargets
reads a delimited targets file into a
dataframe.
1 | importTargets(file, path = NULL, sep = "\t")
|
file |
A character string giving the name of the file. |
path |
A character string giving the directory containing the file. This may be omitted if the file is in the current working directory. |
sep |
A character used to separate the fields. |
The targets file is a text file which contains information about the
RNA samples, linking their experimental conditions to their count data files.
Rows correspond to samples and columns to their respective count data file
locations and the experimental conditions that were applied. By default, it
is expected that the targets file will be tab-delimited but, other delimiters
can be used if specified using sep
.
The targets file must contain at least three columns with the following, column names:
name of the file containing the count data for the sample
experimental treatment or condition that was applied
replicate identifier - can be numeric or character
importTargets
adds a label
column which contains labels
generated using the condition
and replicate
values for the
sample to use in plots.
dataframe: containing the target information and labels
Other target functions: validateTargets
Other import functions: annotateDataset
,
importAnnotation
,
importConfig
, readCountData
,
validateConfig
,
validateTargets
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Import tab-delimited targets file from working directory
importTargets("targets.txt")
# Import tab-delimited targets file from another directory
importTargets("targets.txt", path="/path/to/targets")
# Import comma-delimited targets file from working directory
importTargets("targets.txt", sep=",")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.