R/MSstats_functions.R
artmsResultsWide.Rd
Converts the normal MSStats results.txt file into "wide" format where each row represents a unique protein's results, and each column represents the comparison made by MSStats. The fold change and p-value of each comparison will be its own column.
artmsResultsWide( results_msstats, output_file = NULL, select_pvalues = c("adjpvalue", "pvalue"), species, verbose = TRUE )
results_msstats | (char) Input file name and location
(MSstats |
---|---|
output_file | (char) Output file name and location
(e.g. |
select_pvalues | (char) Either
|
species | (char) Specie name for annotation purposes.
Check |
verbose | (logical) |
(output file tab delimited) reshaped file with unique protein ids and as many columns log2fc and adj.pvalues as comparisons available
ph_results_wide <- artmsResultsWide( results_msstats = artms_data_ph_msstats_results, output_file = NULL, species = "human")#>