Description Usage Arguments Examples
View source: R/mpred_function.R
This function transpose the original dataset to each row as one sample, each column as one metabolite predictor
1 |
df |
dataframe |
standardize |
standardizaton method Default to none. options are z-score, mean-subtraction and none |
1 2 3 4 5 | list <- subset_data(df1 = RC12, df1_sampleinfo = RC12_sampleinfo, df2 = RC18, df2_sampleinfo = RC18_sampleinfo, df1_sample_name = "SAMPLE_NAME", df2_sample_name = "SAMPLE_NAME")
RC12_tumor_match <- list[[1]]
RC18_tumor_match <- list[[2]]
t_RC12_tumor <- df_tidy( RC12_tumor_match, standardize = "z")
t_RC18_tumor <- df_tidy( RC18_tumor_match, standardize = "z")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.