Description Usage Arguments Details Value Author(s) See Also Examples
Forms a consensus sequence representing the sequences in each group.
1 2 3 4 5 6 7 8 | IdConsensus(dbFile,
tblName = "Seqs",
identifier = "",
type = "DNAStringSet",
colName = "identifier",
processors = 1,
verbose = TRUE,
...)
|
dbFile |
A SQLite connection object or a character string specifying the path to the database file. |
tblName |
Character string specifying the table in which to form consensus. |
identifier |
Optional character string used to narrow the search results to those matching a specific identifier. If "" then all identifiers are selected. |
type |
The type of |
colName |
Column containing the group name of each sequence. |
processors |
The number of processors to use, or |
verbose |
Logical indicating whether to display progress. |
... |
Additional arguments to be passed directly to |
Creates a consensus sequence for each of the distinct groups defined in colName. The resulting XStringSet contains as many consensus sequences as there are distinct groups in colName. For example, it is possible to create a set of consensus sequences with one consensus sequence for each "id" in the tblName.
An XStringSet object containing the consensus sequence for each group. The names of the XStringSet contain the number of sequences and name of each group.
Erik Wright eswright@pitt.edu
1 2 3 | db <- system.file("extdata", "Bacteria_175seqs.sqlite", package="DECIPHER")
con <- IdConsensus(db, colName="identifier", noConsensusChar="N")
BrowseSeqs(con)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.