Learn R Programming

FindMyFriends (version 1.2.2)

geneWidth: Get the sequence length of each gene

Description

This method extracts the width (i.e. number of residues) of each gene in the pangenome.

Usage

geneWidth(object)
"geneWidth"(object)
"geneWidth"(object)
"geneWidth"(object)

Arguments

object
A pgVirtual subclass

Value

An integer vector with the length of each sequence

Methods (by class)

  • pgLM: Get gene width for pgLM and subclasses
  • pgFull: Get gene widths for pgFull and subclasses
  • pgSlim: Throws error for pgSlim

Examples

Run this code
testPG <- .loadPgExample()
head(geneWidth(testPG))

Run the code above in your browser using DataLab