View source: R/plotly_log2FC.R
plotly_scatter | R Documentation |
This function returns a list with an interactive scatterplot based on log2 fold change data and a comprehensive Legend.
plotly_scatter(
metalyzer_se,
signif_colors = c(`#5F5F5F` = 1, `#FEBF6E` = 0.1, `#EE5C42` = 0.05, `#8B1A1A` = 0.01),
class_colors = metalyzer_colors()
)
metalyzer_se |
A Metalyzer object |
signif_colors |
signif_colors |
class_colors |
A csv file containing class colors hexcodes |
plotly object
metalyzer_se <- MetAlyzer_dataset(file_path = example_mutation_data_xl())
metalyzer_se <- filterMetabolites(
metalyzer_se,
drop_metabolites = "Metabolism Indicators"
)
metalyzer_se <- renameMetaData(
metalyzer_se,
Mutant_Control = "Sample Description"
)
metalyzer_se <- calculate_log2FC(
metalyzer_se,
categorical = "Mutant_Control",
impute_perc_of_min = 0.2,
impute_NA = TRUE
)
p_scatter <- plotly_scatter(metalyzer_se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.