compute_GC | R Documentation |
This function can GC content of the input sequences.
compute_GC(
Sequences,
label = NULL,
on.ORF = FALSE,
auto.full = FALSE,
parallel.cores = 2
)
Sequences |
A FASTA file loaded by function |
label |
Optional. String. Indicate the label of the sequences such as "NonCoding", "Coding". |
on.ORF |
Logical. If |
auto.full |
Logical. When |
parallel.cores |
Integer. The number of cores for parallel computation.
By default the number of cores is |
This function can basically compute GC content of DNA sequences: GC content = (nc + ng) / (na + nc + ng + nt). The function will ignored the ambiguous bases.
A dataframe.
HAN Siyu
GC
(package "seqinr-package
")
## Not run:
data(demo_DNA.seq)
Seqs <- demo_DNA.seq
gcContent <- compute_GC(Seqs, label = "NonCoding",on.ORF = TRUE,
auto.full = TRUE, parallel.cores = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.