spread_expression_df_to_matrix.Rd
Assumes the only other columns other than 'key' and 'val' are expression measurements
spread_expression_df_to_matrix(df, key, value)
df | A tidy data frame. |
---|---|
key | Column name for the column containing gene names. |
value | Column name for the column containing sample IDs. |
x A matrix containing the expression results