View source: R/dada_phyloseq.R
physeq_or_string_to_dna | R Documentation |
refseq
slot of a phyloseq-class objectInternally used in vsearch_clustering()
, swarm_clustering()
and
postcluster_pq()
.
physeq_or_string_to_dna(physeq = NULL, dna_seq = NULL)
physeq |
(required): a |
dna_seq |
You may directly use a character vector of DNA sequences
in place of physeq args. When physeq is set, dna sequences take the value
of |
An object of class DNAStringSet (see the Biostrings::DNAStringSet()
function)
Adrien Taudière
Biostrings::DNAStringSet()
dna <- physeq_or_string_to_dna(data_fungi)
dna
sequences_ex <- c(
"TACCTATGTTGCCTTGGCGGCTAAACCTACCCGGGATTTGATGGGGCGAATTAATAACGAATTCATTGAATCA",
"TACCTATGTTGCCTTGGCGGCTAAACCTACCCGGGATTTGATGGGGCGAATTACCTGGTAAGGCCCACTT",
"TACCTATGTTGCCTTGGCGGCTAAACCTACCCGGGATTTGATGGGGCGAATTACCTGGTAGAGGTG",
"TACCTATGTTGCCTTGGCGGCTAAACCTACC",
"CGGGATTTGATGGCGAATTACCTGGTATTTTAGCCCACTTACCCGGTACCATGAGGTG",
"GCGGCTAAACCTACCCGGGATTTGATGGCGAATTACCTGG",
"GCGGCTAAACCTACCCGGGATTTGATGGCGAATTACAAAG",
"GCGGCTAAACCTACCCGGGATTTGATGGCGAATTACAAAG",
"GCGGCTAAACCTACCCGGGATTTGATGGCGAATTACAAAG"
)
dna2 <- physeq_or_string_to_dna(dna_seq = sequences_ex)
dna2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.