.getSingleEndFromFilename | R Documentation |
This function will return a single end experiment based on the name of the files selected.
.getSingleEndFromFilename(maindir = ".", pattern = ".fastq", samples = NULL, run = NULL, output = NULL, recursive = F)
maindir |
character. The directory in which to search for sequence files. |
pattern |
regular expression. Only file names which match the regular expression will be returned. |
samples |
it can be NULL, a character vector, or a funciton. If it's NULL then file names will be used as sample names. If it's a character vector sample will be called using the names provided. If it's a function file names will be processed using the function provided and samples will have the resulting names. |
run |
it can be NULL, a character vector, or a funciton. If it's NULL then no run will be assigned. If it's a character vector run will be called using the names provided. If it's a function file names will be processed using the function provided and samples will have the resulting names. |
output |
similar to samples parameter |
recursive |
logical. Should the listing recurse into directories? |
a Single-end experiment
formatSample()
and formatOutptut()
for sample and output
formatting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.