This function will launch a shiny app allowing the user to set the location of peaks and valleys manually. The function will output the landmark positions that the user has set.

get_customize_landmark(
  cell_x_adt_sample,
  landmark_pos,
  bw,
  adt_marker_select_name,
  brewer_palettes = "Set1"
)

Arguments

cell_x_adt_sample

Matrix of ADT counts of the selected marker, with columns of sample and batch information for each row of cells.

landmark_pos

Matrix of landmark location including peaks and valleys.

bw

Bandwidth for the density plot.

adt_marker_select_name

The ADT marker needed to be manually processed to set the landmarks.

brewer_palettes

Set the color scheme of the color brewer. The default is "Set1".

Examples

if (FALSE) {
get_customize_landmark(
cell_x_adt_sample, 
landmark_pos, 
bw, 
adt_marker_select_name, 
brewer_palettes = "Set1"
)}