| check_N | R Documentation |
Calculates the proportion of "N" bases (ambiguous bases) in each sequence and flags if above the given threshold.
check_N(rep_seqs, cutoff = 1)
rep_seqs |
Character vector, list (e.g., from seqinr::read.fasta(as.string=TRUE)), or (optionally) a DNAStringSet. |
cutoff |
Numeric, percent threshold (default 1). |
Data frame with columns: qseqid, N_percent, N_flag.
seqs <- c(seq1 = "ATGCNNNN", seq2 = "NNNNATGC")
check_N(seqs)
check_N(seqs, cutoff = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.