proteo_hm | R Documentation |
Makes heat maps
proteo_hm(
df = NULL,
id = NULL,
df_meta = NULL,
sample_ids = NULL,
filepath = NULL,
filename = NULL,
complete_cases = FALSE,
annot_cols = NULL,
annot_colnames = NULL,
annot_rows = NULL,
xmin = -1,
xmax = 1,
xmargin = 0.1,
...
)
df |
The name of a primary data file. By default, it will be determined
automatically after matching the types of data and analysis with an
|
id |
Character string; one of |
df_meta |
A file name of meta data. |
sample_ids |
A character vector containing the sample IDs for an ascribing analysis. |
filepath |
A file path to output results. By default, it will be
determined automatically by the name of the calling function and the value
of |
filename |
A representative file name to outputs. By default, the
name(s) will be determined automatically. For text files, a typical file
extension is |
complete_cases |
Logical; if TRUE, only cases that are complete with no missing values will be used. The default is FALSE. |
annot_cols |
A character vector of column keys in |
annot_colnames |
A character vector of replacement name(s) to
|
annot_rows |
A character vector of column keys that can be found from
input files of |
xmin |
Numeric; the minimum x at a log2 scale. The default is -1. |
xmax |
Numeric; the maximum x at a log2 scale. The default is 1. |
xmargin |
Numeric; the margin in heat scales. The default is 0.1. |
... |
|
proteo_hm(
df = Protein_delta.txt,
id = gene,
df_meta = hm_meta.xlsx,
filepath = file.path(dat_dir, "Protein/Heatmap"),
filename = "kin_delta.png",
complete_cases = FALSE,
annot_cols = NULL,
annot_colnames = NULL,
annot_rows = c("kin_class"),
cluster_rows = FALSE,
xmin = -1,
xmax = 1,
xmargin = .1,
width = 5,
height = 12,
arrange2_by = exprs(kin_class, gene),
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.