dot-checkSubunitMatches: Check if all subunits of a multi-subunit protein are matched...

.checkSubunitMatchesR Documentation

Check if all subunits of a multi-subunit protein are matched Internal AbNames function for removing spurious matches caused by guessing subunit names. Column names are hard-coded and expected to match the default pipeline. Returns a table containing gene name matches with spurious matches removed. For example, if Antigen "HLA-DR" was split into "HLA-D" and "HLA-R", and "HLA-D" was matched but "HLA-R" was not, both rows would be removed from the result.

Description

Check if all subunits of a multi-subunit protein are matched Internal AbNames function for removing spurious matches caused by guessing subunit names. Column names are hard-coded and expected to match the default pipeline. Returns a table containing gene name matches with spurious matches removed. For example, if Antigen "HLA-DR" was split into "HLA-D" and "HLA-R", and "HLA-D" was matched but "HLA-R" was not, both rows would be removed from the result.

Usage

.checkSubunitMatches(df, query_df)

Arguments

df

A data frame containing matches of gene names in a database

query_df

A data.frame containing potential gene/protein names, one

Value

df with rows removed if the match via a subunit regular expression but not all of the subunits were matched.


HelenLindsay/AbNames documentation built on June 6, 2023, 1:18 p.m.