convert_sailfish_df_to_matrix.Rd
Given a data frame containing Sailfish gene-level results, from the construct_sailfish_gene_dataframe function, convert that dataframe to a matrix suitable for downstream analysis.
convert_sailfish_df_to_matrix(sailfish.df, metric = c("NumReads", "TPM"))
sailfish.df | Data frame containing sailfish results. |
---|---|
metric | Expression metric to use (either 'NumReads' or 'TPM'). |
df A data frame containing the Sailfish results.