View source: R/genomebrowser.R
createAssembly | R Documentation |
genomebrowser
or genomemap
.createAssembly
create assemblies for their use as parameter of genomebrowser
or genomemap
.
createAssembly(name, size)
name |
a vector with the chomosome or scaffold names. |
size |
a vector with the chomosome or scaffold sizes. |
a data frame in BED format to be used as an assembly in genomebrowser
or genomemap
.
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
The ‘D3GB’ Website: http://d3gb.usal.es
genomebrowser
, genomemap
.
# A Micromonospora scaffolds' names and sizes
scaffolds <- c("NZ_HF570105.1", "NZ_HF570106.1", "NZ_HF570107.1", "NZ_HF570108.1")
sizes <- c(583, 1327, 241394, 7082520)
# Create an assembly
createAssembly(scaffolds, sizes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.