AnaCoDa (version 0.1.0)

length.Rcpp_Genome: Length of Genome

Description

length gives the length of a genome

Usage

# S3 method for Rcpp_Genome
length(x)

Arguments

x

A genome object initialized with initializeGenomeObject.

Value

returns the number of genes in a genome

Examples

Run this code
# NOT RUN {
genome_file <- system.file("extdata", "genome.fasta", package = "AnaCoDa")
 
## reading genome
genome <- initializeGenomeObject(file = genome_file)
length(genome) # 10

# }

Run the code above in your browser using DataLab