organizeEstimates: organizeEstimates Generate matrices of coefficients of...

Description Usage Arguments Value

View source: R/model_fitting.R

Description

organizeEstimates Generate matrices of coefficients of interest for later plotting with heatmaps.

Usage

1
2
3
4
5
6
7
8
organizeEstimates(
  coefficients_list,
  terms_exact,
  terms_match,
  feature = "estimate",
  gene_name = "gene_id",
  transpose = F
)

Arguments

coefficients_list

List (over patterns) of objects returned from orderCoefficientByGene()

terms_exact

String. Names of terms to plot which exactly match the terms of the model.

terms_match

String. specify beginning string to match terms to plot. Necessary for interaction terms.

feature

which feature to pull from the model. Default ["estimate"] is beta. Options include "q_value"...

gene_name

name of column which contains gene names. Default ["gene_id"]

tranpose

boolean. Should matrices be tranposed. Default [F] returns genes as rows.

Value

Returns a list of matrices.


gofflab/glmpd documentation built on April 11, 2021, 6:38 a.m.