compute_GC {LncFinder} | R Documentation |
Calculate GC content
Description
This function can GC content of the input sequences.
Usage
compute_GC(
Sequences,
label = NULL,
on.ORF = FALSE,
auto.full = FALSE,
parallel.cores = 2
)
Arguments
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 |
Details
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.
Value
A dataframe.
Author(s)
HAN Siyu
See Also
GC
(package "seqinr-package
")
Examples
## 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)