Description Usage Arguments Value See Also Examples
This function combines sequence tables together into one merged sequences table.
1 2 3 4 5 6 7 8 9 |
table1 |
(Optional, default=NULL). Named integer matrix. Rownames correspond to samples
and column names correspond to sequences. The output of |
table2 |
(Optional, default=NULL). Named integer matrix. Rownames correspond to samples
and column names correspond to sequences. The output of |
... |
(Optional). Additional sequence tables. |
tables |
(Optional, default=NULL). Either a list of sequence tables, or a list/vector of RDS filenames
corresponding to sequence tables. If provided, |
repeats |
(Optional). Default "error". Specifies how merging should proceed in the presence of repeated sample names. Valid values: "error", "sum". If "sum", then samples with the same name are summed together in the merged table. |
orderBy |
(Optional). |
tryRC |
(Optional). |
Named integer matrix. A row for each sample, and a column for each unique sequence across all the samples. Note that the columns are named by the sequence which can make display unwieldy.
1 2 3 4 5 6 7 8 | ## Not run:
mergetab <- mergeSequenceTables(seqtab1, seqtab2, seqtab3) # unnamed arguments assumed to be sequence tables
input_tables <- list(seqtab1, seqtab2, seqtab3)
mergetab <- mergeSequenceTables(tables=input_tables) # list of sequence tables
files <- c(file1, file2, file3)
mergetab <- mergeSequenceTables(tables=files) # vector of filenames
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.