write_ranked_central_elements_table: Saves to file a dataframe with two columns, Element and Rank

write_ranked_central_elements_tableR Documentation

Saves to file a dataframe with two columns, Element and Rank

Description

Creates a file with one tab separated row per each unique central cluster element along with its ranking

Usage

write_ranked_central_elements_table(
  central_elements,
  rank_data,
  output_path = file.path(getwd(), "ranked_unique_central_elements_ranks.tsv"),
  display_output = F
)

Arguments

central_elements

Named list of central element from each cluster ( as returned by isolate_central_cluster_elements ), assumes naming convention of cluster_group_cluster_number_within_group

output_path

One-length character vector with fully qualified path to output file

display_output

Boolean option to display final output

element_ranks

Named integer vector of element rankings

Value

Returns data.frame of unique ranked central cluster elements as saved to file


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.