GetContigCumulLength | R Documentation |
Return a dataframe with the length (and cumulative length) of contigs (ordered from largest to smallest contig) provided in genome assembly.
GetContigCumulLength(dnastringsetGenome)
dnastringsetGenome |
A DNAStringSet object containing the sequence for each contig. |
A dataframe:
contig_names: The names of each contig.
Mbp_length: The size of each contig (in Megabase pairs (Mbp)).
cumsum_Mbp_length: The cumulative size (from largest to smallest contig) for each contig (in Megabase pairs (Mbp)).
myGenome <- Biostrings::readDNAStringSet(system.file( package = "DNAModAnnot", "extdata", "ptetraurelia_mac_51_sca171819.fa" )) myContig_cumul_len_t <- GetContigCumulLength(dnastringsetGenome = myGenome) myContig_cumul_len_t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.