geneWidth {FindMyFriends}R Documentation

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)

## S4 method for signature 'pgLM'
geneWidth(object)

## S4 method for signature 'pgFull'
geneWidth(object)

## S4 method for signature 'pgSlim'
geneWidth(object)

Arguments

object

A pgVirtual subclass

Value

An integer vector with the length of each sequence

Methods (by class)

Note

Required for subclasses of pgVirtual in order to extend the class system of FindMyFriends

Examples

testPG <- .loadPgExample()
head(geneWidth(testPG))


[Package FindMyFriends version 1.14.0 Index]