View source: R/fct_03_clustering.R
process_heatmap_data | R Documentation |
This function prepares the data from pre-processing to be displayed in a heatmap. It takes in limits for what genes to subset, what centering and standardizing to perform, and what gene ID label to use.
process_heatmap_data(
data,
n_genes_max,
gene_centering,
gene_normalize,
sample_centering,
sample_normalize,
all_gene_names,
select_gene_id
)
data |
Processed data matrix |
n_genes_max |
Integer for for number upper limit to display in heatmap |
gene_centering |
TRUE/FALSE subtract mean from gene rows |
gene_normalize |
TRUE/FALSE divide by SD in gene rows |
sample_centering |
TRUE/FALSE subtract mean from sample columns |
sample_normalize |
TRUE/FALSE divide by SD in sample columns |
all_gene_names |
Data frame of gene names |
select_gene_id |
Character string designating desired ID type for heatmap labels (User_ID, ensembl_ID, symbol) |
Subsetted data matrix ([n_genes_min:n_genes_max, ]) with gene IDs as the select_gene_id
Other clustering functions:
cluster_heat_click_info()
,
draw_sample_tree()
,
heat_sub()
,
heatmap_main()
,
k_means_elbow()
,
sd_density()
,
sub_heat_ann()
Other heatmaps:
cluster_heat_click_info()
,
heat_sub()
,
heatmap_main()
,
sub_heat_ann()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.