add_linkout: Add linkout HTML

Description Usage Arguments Value

Description

Non NA values in id_col of query_res are inserted between pre_url and post_url to form hyperlinks. Relevant HTML markup is also added.

Usage

1
2
3
4
5
6
7
8
add_linkout(
  query_res,
  id_col,
  img_url,
  pre_url,
  post_url = NULL,
  title = id_col
)

Arguments

query_res

data.frame returned by summarize_compound.

id_col

Character with column in query_res that contains ids to be inserted between pre_url and post_url to form the link. NA values will be ignored.

img_url

Character with url to an image to display as hyperlink.

pre_url

Character with url portion to paste before id_col column values.

post_url

Character with url portion to paste before id_col column values.

title

Character that will be added to hyperlink title attribute. Default is id_col.

Value

query_res with HTML for hyperlinks in id_col.


hms-dbmi/drugseqr documentation built on Aug. 8, 2020, 2:03 a.m.