TheoreticalGC-class {ngsReports} | R Documentation |
Contains Theoretical GC content for a selection of species
Estimates are able to be retained for genomic and transcriptomic sequences. Values are stored as frequencies.
An object of class TheoreticalGC
Genome
A data.frame
containing theoretical GC content for
genomic sequences
Transcriptome
A data.frame
containing theoretical GC content
for transcriptomic sequences
mData
A data.frame
containing metadata about all species in the
object
## How to form an object using your own fasta file faDir <- system.file("extdata", package = "ngsReports") faFile <- list.files(faDir, pattern = "fasta", full.names = TRUE) gen_df <- estGcDistn(faFile, n = 200) gen_df <- dplyr::rename(gen_df, Athaliana = Freq) mData_df <- data.frame(Name = "Athaliana", Genome = TRUE, Transcriptome = FALSE) tr_df <- data.frame() myGC <- new( "TheoreticalGC", Genome = gen_df, Transcriptome = tr_df, mData = mData_df)