Description Usage Arguments Examples
View source: R/mpred_function.R
This function allows you to read in supplement data–sample info and met info
1 2 | prepare_data(df, df_sampleinfo, df_sample_name = "SAMPLE_NAME",
type = "tumor")
|
df |
main dataframe that contain sample metabolite measures |
df_sample_name |
the variable name for sample name, vary for each dataset Default is sampleinfo.SAMPLE_NAME |
type |
tumor or normal Default to tumor |
df_sample_info |
sample information |
1 2 3 | data(RC12)
data(RC12_sampleinfo)
RC12_tumor <- prepare_data(df = RC12, df_sampleinfo = RC12_sampleinfo, df_sample_name = "SAMPLE_NAME", type = "tumor")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.