View source: R/buildReferenceData.R
getChromSizesFromFasta | R Documentation |
Get gene models from a remote or local FASTA file
getChromSizesFromFasta(source, destDir = NULL, convertEnsemblUCSC = FALSE)
source |
a string that is either a path to a local or remote FASTA |
destDir |
a string that indicates the path to the directory where the downloaded FASTA file should be stored |
convertEnsemblUCSC |
a logical indicating whether Ensembl style chromosome annotation should be changed to UCSC style (add chr) |
a named vector of sequence lengths
CElegansFasteCropped = system.file("extdata",
"C_elegans_cropped_example.fa.gz",
package="GenomicDistributions")
CElegansChromSizes = getChromSizesFromFasta(CElegansFasteCropped)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.