addUPKBLayer: Add a protein layer to a mully graph

View source: R/UniProtKB.R

addUPKBLayerR Documentation

Add a protein layer to a mully graph

Description

Add a protein layer to a mully graph

Usage

addUPKBLayer(
  g,
  up,
  proteinList,
  col = c("UniProtKB", "protein_name", "organism_name")
)

Arguments

g

The mully graph

up

The UniProt.ws Object

proteinList

The list of UniProt Ids of the proteins to be added

col

The list of attributes associated to the UniProtKB Entries to be retrieved

Value

The mully graph with the added UniProt layer

Note

Should be preceded by UniProt.ws() to get the UniProt.ws Object

Examples

## Not run:  
up=UniProt.ws()
g=mully("UniProt")
g=addUPKBLayer(g,up,proteinList=c("P02747","P00734","P07204"),col=c("UniProtKB","protein_name"))

## End(Not run)

frankkramer-lab/Multipath documentation built on April 30, 2023, 6:08 p.m.