View source: R/single_consensus_byBarcode.r
| single_consensus_byBarcode | R Documentation | 
Main function to compute consensus after correcting reads by a SINGLE model.
single_consensus_byBarcode(
  barcodes_table,
  sequences,
  readID_col = 1,
  bcID_col = 2,
  header = TRUE,
  dec = ".",
  sep = " ",
  verbose = TRUE
)
| barcodes_table | data.frame or file name containing the names of the reads and the barcode associated (or any grouping tag). | 
| sequences | QualityScaledDNAStringSet or fastq file name. Contains sequences from which compute weighted consensus. | 
| readID_col, bcID_col | Numeric. Columns where the reads id and the barcode (or grouping tag) are, in the barcodes_table | 
| header, dec, sep | Arguments for read.table(barcodes_table) | 
| verbose | Logical. | 
DNAStringSet with consensus sequences
pos_start=1
pos_end = 100
barcodes_file =  system.file("extdata", "Barcodes_table.txt",package = "single")
reads_single = system.file("extdata", "corrected_seqs.fastq", package = "single")
single_consensus_byBarcode(barcodes_file,reads_single, verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.