create_model_df | R Documentation |
Store term membership for each gene.
create_model_df(df_genes, df_terms, pvalue_threshold = 0.05)
df_genes |
Dataframe storing gene names and DE p-values. |
df_terms |
Dataframe storing pathway database. |
pvalue_threshold |
P-value threshold to create binary columns 'pvalue_sig' and 'pvalue_notsig'. |
Dataframe.
df_genes <- data.frame(
gene = c("g1", "g2"),
pvalue = c(0.1, 0.2)
)
df_terms <- data.frame(
term = c("A", "A", "B", "B", "C"),
gene = c("g1", "g2", "g1", "g2", "g2")
)
create_model_df(df_genes, df_terms)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.