| cut_much | R Documentation |
group data for plot DEG volcano by FDR and logFC
cut_much(
deg_data,
x,
y,
cut_FC = 1,
cut_P = 0.05,
label = c("Down", "Stable", "Up"),
label_ns = "Stable"
)
deg_data |
a DEG data frame contains logFC and p value |
x |
which column is log FC |
y |
which column is P value |
cut_FC |
a single number character or numeric vector in threshold value of log FC |
cut_P |
threshold value of P value, can set for every cut_FC number in numeric vector format |
label |
symbol word for groups |
label_ns |
which group is the stable group |
add group column in data frame
cut_much(DEG_df, x = "log2FoldChange", y = "pvalue", cut_FC = 1,cut_P = 0.05,
label = c("Down","Stable","Up"), label_ns = "Stable")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.