sort_query_table_clin: final sorting/filtering of query table

sort_query_table_clinR Documentation

final sorting/filtering of query table

Description

final sorting/filtering of query table

Usage

sort_query_table_clin(
  query_table_clin,
  sort_by,
  sort_abs,
  direction,
  drug_study,
  remove_html = FALSE
)

Arguments

query_table_clin

result of filter_clinical

sort_by

Metric to sort by. Either 'avg_cor' (default) or 'min_cor'.

sort_abs

Should results be sorted based on absolute correlation? Default is FALSE.

direction

Direction of correlation to sort results by. One of 'both', 'similar', or 'opposing' (default).

drug_study

Queried database giving rise to query_res. One of 'CMAP02','L1000 Genetic', or 'L1000 Drugs'.

remove_html

Should html columns be removed? For non-webapp usage.

Value

Final query table


hms-dbmi/drugseqr documentation built on Feb. 15, 2024, 10:38 p.m.