collapseByInterProID: Collapse InterProScan output to one protein sequence feature...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/collapseByInterProID.R

Description

Collapse InterProScan output to one protein sequence feature per InterProID (or other feature attribute)

Usage

1
collapseByInterProID(InterProScan_features, id_col = "Dbxref")

Arguments

InterProScan_features

GRanges, the output of readInterProGFF3, SubsetByInterProEntryType or addInterProEntryTypes function

id_col

character (1L) containing the name of the column which defines a feature attribute per which to collapse features (combination of Protein ID and this feature is used)

Value

GRanges-class object containing InterProScan output with all protein sequence features collapsed per InterProID (or other feature attribute). Ranges are reduced reduce, metadata is collapsed in one line and separated with "|".

Author(s)

Vitalii Kleshchevnikov

See Also

readInterProGFF3

Examples

1
InterProScan_domains_nonred = collapseByInterProID(InterProScan_features = InterProScan_domains, id_col = "Dbxref")

vitkl/ProtDomSeq documentation built on May 3, 2019, 8:08 p.m.