createAssembly: Creates a genome assembly for 'genomebrowser' or 'genomemap'.

View source: R/genomebrowser.R

createAssemblyR Documentation

Creates a genome assembly for genomebrowser or genomemap.

Description

createAssembly create assemblies for their use as parameter of genomebrowser or genomemap.

Usage

createAssembly(name, size)

Arguments

name

a vector with the chomosome or scaffold names.

size

a vector with the chomosome or scaffold sizes.

Value

a data frame in BED format to be used as an assembly in genomebrowser or genomemap.

Author(s)

David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/

See Also

The ‘D3GB’ Website: http://d3gb.usal.es

genomebrowser, genomemap.

Examples

# 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)

D3GB documentation built on June 22, 2024, 9:35 a.m.

Related to createAssembly in D3GB...