sleuth_wt | R Documentation |
This function computes the Wald test on one specific 'beta' coefficient on every transcript.
sleuth_wt(obj, which_beta, which_model = "full")
obj |
a |
which_beta |
a character string of denoting which grouping to test.
For example, if you have a model fit to 'treatment,' with values of neg_ctl, pos_ctl,
and drug, you would need to run |
which_model |
a character string of length one denoting which model to use |
an updated sleuth object
models
to view which models have been fit and which
coefficients can be tested, sleuth_results
to get back
a data.frame
of the results
# Assume we have a sleuth object with a model fit to both genotype and drug, models(so) # formula: ~genotype + drug # coefficients: # (Intercept) # genotypeKO # drugDMSO so <- sleuth_wt(so, 'genotypeKO') so <- sleuth_wt(so, 'drugDMSO')