IdConsensus(dbFile, tblName = "DNA", identifier = "", type = "DNAStringSet", colName = "id", add2tbl = FALSE, verbose = TRUE, ...)
XStringSet
(sequences) to use in forming consensus. This should be (an unambiguous abbreviation of) one of "DNAStringSet"
, "RNAStringSet"
, "AAStringSet"
, or "BStringSet"
.
ConsensusSequence
for an AAStringSet
, DNAStringSet
, or RNAStringSet
, or to consensusString
for a BStringSet
.
XStringSet
object containing the consensus sequence for each group. The names
of the XStringSet
contain the number of sequences and name of each group.
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
.
Seqs2DB
db <- system.file("extdata", "Bacteria_175seqs.sqlite", package="DECIPHER")
con <- IdConsensus(db, colName="id", noConsensusChar="N")
BrowseSeqs(con)
Run the code above in your browser using DataLab