Description Usage Arguments Details Value
Converts a tidy dataframe into a numeric matrix.
1 2 |
tidydf |
Tidy dataframe of RFI values to convert to matrix. |
logdata |
Single logical indicating whether the raw RFI values should be logged. |
tech_reps |
Single logical indicating whether there are technical replicates. |
convert_neg |
Single logical indicating whether negative values should be converted to zero (0). |
AB_col |
Name of the column containing antibody name or number, as string. These names or numbers will become rownames of the output matrix. |
If the tidy dataframe contains technical replicates with the same sample names, unique sample names will be created by add a group row number to the the end of the sample name.
Useful for functions that require data to be in matrix format like
pheatmap
and plotMA
.
A numeric matrix where each row is an antibody and each column is a sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.