Description Usage Arguments Value Examples
This function is a wrapper for DSS::DMLfit.multiFactor
.
1 | diff_dss_fit(bs, design, formula)
|
bs |
a |
design |
a |
formula |
a formula for the linear model. It should refer to column names from |
A list
object with:
a GRanges
object with loci fit.
the data.frame
input as the experimental design.
the formula
representing the model. Can be character
or formula
.
the design matrix
used in regression based on the design
and formula
. This should be consulted to determine the appropriate contrast to use in dss_fit_test()
.
a list
with model fitting results. It has components beta
, the estimated coefficients, and var.beta
the estimated variance/covariance matrix for beta
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(BS.cancer.ex, package = 'bsseqData')
bs = filter_loci_by_group_coverage(
bs = BS.cancer.ex,
group_column = 'Type',
c('cancer' = 2, 'normal' = 2))
small_test = bs[1:50]
diff_fit = diff_dss_fit(
bs = small_test,
design = bsseq::pData(bs),
formula = '~ Type')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.