dot-filter_coex_partners: Function to filter the contents of a 'coxpresdb.jp'...

Description Usage Arguments

Description

Function to filter the contents of a 'coxpresdb.jp' gene-coexpression dataset

Usage

1
.filter_coex_partners(coex_df, gene_universe, n_partners, mr_threshold)

Arguments

coex_df

A dataframe containing coexpression data. Should contain columns source_id, target_id and mutual_rank. May contain multiple distinct source_ids.

gene_universe

The genes in the dataframe should be filtered to ensure they are all present in this set. Note that both the entries in source_id and target_id are filtered to be in this set.

n_partners

The maximum number of partners to return for the source gene(s) in coex_df. Gene partners will be sorted in order of mutual-rank before selecting the top partners.

mr_threshold

All gene-pairs in the returned dataset will have a mutual-rank of at most this value.


russHyde/coxpresdbr documentation built on Dec. 24, 2019, 11:59 a.m.