pav_cluster: pav_cluster

Description Usage Arguments

View source: R/pav_cluster.R

Description

pav_cluster

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pav_cluster(
  pav_obj,
  cluster_distance = "euclidean",
  cluster_method = "complete",
  add_phen_info = NULL,
  phen_info_color_list = NULL,
  sample_name_size = 4,
  mult = 0.1,
  legend_side = "right",
  legend_title_size = NULL,
  legend_text_size = NULL
)

Arguments

pav_obj

A PAV object.

cluster_distance

Method to measure distance, pass to dist.

cluster_method

Method to perform hierarchical clustering, pass to hclust.

add_phen_info

A character string of 'phen_info' names.

phen_info_color_list

A list contains named vector of colors for 'phen_info' annotation. e.g. list(gender = c("Male" = "green", "Female" = "red"))

sample_name_size

The size of labels.

mult

A numebr of multiplicative range expansion factors.

legend_side

The position of legend ("top", "bottom", "right", "left").

legend_title_size

The size of legend title.

legend_text_size

The size of legend item labels.


xiaonui/vPan documentation built on Dec. 23, 2021, 6:17 p.m.