pheatmap_wrapper_function: Creates heatmap using pheatmap function. Can have two rows of...

Description Usage Arguments

View source: R/RNAseq_plotting.R

Description

Creates heatmap using pheatmap function. Can have two rows of labels.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pheatmap_wrapper_function(
  sample_df,
  x_lcpm,
  gene_set_char,
  filt_1_quo = RNAi,
  filt_1_vec = c("LacZRNAi"),
  filt_2_quo = treatment,
  filt_2_vec = NA,
  var_to_groupby = group,
  breaksList = seq(-3, 3, by = 0.25),
  ...
)

Arguments

sample_df

df from DGElist$samples

x_lcpm

Count matrix. Usually log transformed.

gene_set_char

Gene set as a vector Identifies need to match rownames of loc_exp_lcpm e.g. flybase_ids

filt_1_quo

Column name in sample_df. Quosure. Do not quote.

filt_1_vec

Vector containing elements to select from filt_1 column of sample_df

filt_2_quo

Column name in sample_df. Quosure. Do not quote.

filt_2_vec

Vector containing elements to select from filt_2 column of sample_df

var_to_groupby

Normally DGElist$samples$group. Normally a Factor

...

Passing the dots to pheatmap function.


morriso1/tools4RNAseq documentation built on July 17, 2021, 3:07 a.m.