Closed frhl closed 4 years ago
DONE on March 12: (1) check_input (2) read_input
TO DO on March 12: (3) map_geneid (FHL) (4) calc_mod_ttest (YHH) (5) id_enriched_proteins (YHH)
YHH TO DO (Mar 13):
TO DISCUSS:
*** maybe in the future, show isoform information in plots
Allow duplicate gene names, only check for unique names if doing overlap enrichment type tests.
We need the following for minimal functionality:
Input checking: Input format checking for four different types of input.
We should have a function that checks format. E.g. separate replicates, we call a moderated t-test. We should get a list of 1) input data.frame, 2) and a boolean vector indicating/string indicating what further functions should be called to process the data. In summary, read input, check input, map input, moderated t.test and identify enriched interactors.
Include, verbose error message that we can use for debugging and potentially for users in the future.
R error handling: stopifnot('FDR' %nin% colnames(df))
Function details