DrawContigCumulLength | R Documentation |
Return a line-plot describing the cumulative length of contigs (ordered from largest to smallest contig).
DrawContigCumulLength( nContigCumsumLength, cOrgAssemblyName, lGridInBackground = FALSE, cLineColor = "red", nLineWidth = 2, nLineType = 1 )
nContigCumsumLength |
A numeric vector containing the cumulative length of contigs (ordered from largest to smallest contig). |
cOrgAssemblyName |
The name of the genome assembly corresponding to these contigs. |
lGridInBackground |
If TRUE, add a grid in the background. Defaults to FALSE. |
cLineColor |
The color of the line. Defaults to "red". |
nLineWidth |
The width of the line. Defaults to 2. |
nLineType |
The type of the line. Defaults to 1. |
myGenome <- Biostrings::readDNAStringSet(system.file( package = "DNAModAnnot", "extdata", "ptetraurelia_mac_51_sca171819.fa" )) myContig_cumul_len_t <- GetContigCumulLength(dnastringsetGenome = myGenome) DrawContigCumulLength( nContigCumsumLength = myContig_cumul_len_t$cumsum_Mbp_length, cOrgAssemblyName = "ptetraurelia_mac_51" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.