| list_fastq_files | R Documentation | 
Useful for targets bioinformatic pipeline.
list_fastq_files(
  path,
  paired_end = TRUE,
  pattern = "fastq",
  pattern_R1 = "_R1_",
  pattern_R2 = "_R2_",
  nb_files = Inf
)
| path | path to files (required) | 
| paired_end | do you have paired_end files? (default TRUE) | 
| pattern | a pattern to filter files (passed on to list.files function). | 
| pattern_R1 | a pattern to filter R1 files (default "R1") | 
| pattern_R2 | a pattern to filter R2 files (default "R2") | 
| nb_files | the number of fastq files to list (default FALSE) | 
a list of one (single end) or two (paired end) list of files
files are sorted by names (default behavior of list.files())
Adrien Taudière
list_fastq_files(system.file("extdata", package = "MiscMetabar"))
list_fastq_files(system.file("extdata", package = "MiscMetabar"),
  paired_end = FALSE, pattern_R1 = ""
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.