View source: R/export_stats_genesummary.R
disambiguate_protein_table_by_gene | R Documentation |
The order of the data table is pivotal: the first row for each unique gene (criteria in parameter gene_ambiguity
)) is selected !
disambiguate_protein_table_by_gene(
protein_data,
hgnc,
gene_ambiguity,
xref = NULL,
remove_nohgnc = FALSE,
distinct_factors = NULL
)
protein_data |
a data.frame with columns (from dataset$proteins) protein_id, gene_symbols, gene_symbols_or_id. Importantly, if you opt to return only unique entries per gene then the row of the FIRST matching protein_id is returned, so sort your data table by pvalue upstream ! |
hgnc |
see |
gene_ambiguity |
see |
xref |
see |
remove_nohgnc |
see |
distinct_factors |
a set of columns in protein_data that should be considered (together with protein_id) factors that describe subsets of data (to return unique gene-level data within) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.