long_to_matrix | R Documentation |
Convert from a long data frame representation to a wide matrix representation
long_to_matrix(df_long, feature_id_col = "peptide_group_label",
measure_col = "Intensity", sample_id_col = "FullRunName",
qual_col = NULL, qual_value = 2)
df_long |
data frame where each row is a single feature in a single
sample. It minimally has a |
feature_id_col |
name of the column with feature/gene/peptide/protein
ID used in the long format representation |
measure_col |
if |
sample_id_col |
name of the column in |
qual_col |
column to color point by certain value denoted
by |
qual_value |
value in |
data_matrix
(proBatch) like matrix
(features in rows, samples in columns)
Other matrix manipulation functions: matrix_to_long
proteome_matrix <- long_to_matrix(example_proteome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.