rmByEvi: A function that parses through each GO protein complex and...

Description Usage Arguments Details Value Author(s)

View source: R/rmByEvi.R

Description

The set of proteins protKept argument is a filtered set of proteins based on evidence codes given by the users. If complex contains any protein not in protKept, that protein will be deleted.

Usage

1
rmByEvi(protKept, complex)

Arguments

protKept

A character vector of filtered proteins. Only the proteins listed in this vector should be kept in the protein complexes

complex

A list of the GO protein complexes

Details

When getGOInfo is called, the user can specify a set of evidence codes in the argument (see getGOInfo.Rd). The function getGOInfo then generates a set of proteins, protKept (which are indexed by evidence codes other than the user specified set of evidence codes), that are valid proteins.

This function takes this set of proteins and compares it with each GO protein complex. If any protein is found within a GO protein complex and does not belong to protKept, it is deleted from that protein complex.

Value

The return value is the "complex" list with a protein removed from the protein complex if that protein is not found in protKept.

Author(s)

Tony Chiang


ScISI documentation built on Nov. 8, 2020, 5:48 p.m.