collapse_labels: collaps overlay data

Description Usage Arguments

View source: R/collapse_labels.R

Description

a data.frame used to overlay items in genoppi will look for non-unqiue gene names and combine them into a single informative line using their alt_label (e.g. snp) and their corrsponding dataset.

Usage

1
2
3
4
5
6
7
8
collapse_labels(
  overlay,
  dataset = "dataset",
  collapse_into = "alt_label",
  collapse_by = "gene",
  dataset_collapse_sep = ": ",
  item_sep = " <br>"
)

Arguments

overlay

a data.frame

dataset

the main dataset name that is to be combined.

collapse_into

the column that will contain the collapsed entries.

collapse_by

what identifying colummn is the data to be collapsed by?

dataset_collapse_sep

how should the dataset column and collapse-column be seperated by when collapsed?

item_sep

how should each collapsed item be seperated from the next? Default is newline.


frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.