top_deg | R Documentation |
For example, if top = 50, head 50 and tail 50 will return from a ordered DEG data frame after filtering by threshold value of P value
top_deg(deg_data, x, y, top, cut_P = 0.05)
deg_data |
a DEG data frame contains logFC and p value |
x |
which column is log FC |
y |
which column is P value |
top |
a single number or a length of 2 numeric vector, if 2 numeric vector, first one is top max logFC. |
cut_P |
a single number for threshold value of P value |
a character vector of top genes
top_deg(DEG_df, x = "log2FoldChange", y = "pvalue", 50, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.