geneWidth: Get the sequence length of each gene

Description Usage Arguments Value Methods (by class) Note Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

FindMyFriends documentation built on Nov. 8, 2020, 6:46 p.m.