Description Usage Arguments Details Value
This is a wrapper function for sleuth_results
that properly
handles the unique features of sleuth-ALR-transformed data.
1 2 3 | sleuth_alr_results(obj, test, test_type = "wt", which_model = "full",
show_all = TRUE, pval_aggregate = obj$pval_aggregate,
weight_func = "best")
|
obj |
a |
test |
a character string denoting the test to extract. Possible tests can be found by using |
test_type |
'wt' for Wald test or 'lrt' for Likelihood Ratio test. |
which_model |
a character string denoting the model. If extracting a wald test, use the model name. Not used if extracting a likelihood ratio test. |
show_all |
if |
pval_aggregate |
if |
weight_func |
if |
For the transcript-level analysis, this produces the same results as the default sleuth_results
.
However, using the default function for p-value aggregation is incompatible with the standard sleuth-ALR
transformation. Sleuth-ALR logratios typically include negative values (any feature that is less abundant than the
chosen 'reference feature(s)' will yield negative logratios), and negative values are not allowed for the
lancaster method.
This method works around this problem by specifying a weighting function that is compatible with the logratios and with the lancaster method. The default is to specify the string 'best', which uses an internal function to determine how to exponentiate the logratios to get the ratios, using whatever base was used for the transformation.
a data.frame
with the same specification as found in sleuth_results
. See sleuth_results
for
details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.