powered by
This function allows to add user-defined sample, participant, and time column to a PALMO object in standard format.
annotateMetadata( data_object, sample_column = "Sample", donor_column = "PTID", time_column = "Time", group_column = NULL )
PALMO object
Input PALMO S4 object. Contains annotation table and expression matrix or data frame. Rows represent gene/proteins column represents participant samples (same as annotation table Sample column)
Name of Sample column in user input annotation data frame. Default 'Sample'
Name of Donor/participant column in user input annotation data frame. Default 'PTID'
Name of Time column in user input annotation data frame. Default 'Time'
Optional. Calculate average expression by given group like 'celltype' or 'cluster'
if (FALSE) { annotateMetadata(data_object=palmo_obj, sample_column='Sample', donor_column='PTID', time_column='Time') }
Run the code above in your browser using DataLab