matrix_to_long | R Documentation |
Convert from wide matrix to a long data frame representation
matrix_to_long(data_matrix, sample_annotation = NULL,
feature_id_col = "peptide_group_label", measure_col = "Intensity",
sample_id_col = "FullRunName", step = NULL)
data_matrix |
features (in rows) vs samples (in columns) matrix, with
feature IDs in rownames and file/sample names as colnames.
See "example_proteome_matrix" for more details (to call the description,
use |
sample_annotation |
data frame with:
.
See |
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 |
step |
normalization step (e.g. |
df_long
(proBatch) like data frame
Other matrix manipulation functions: long_to_matrix
proteome_long <- matrix_to_long(example_proteome_matrix,
example_sample_annotation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.