Skip to content

Commit

Permalink
Clarify the cell component model again
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Nov 5, 2024
1 parent 9d2f6f1 commit 992b450
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 17 deletions.
18 changes: 13 additions & 5 deletions R/select_transcripts.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
#' Helper function to select which experimental model will be used to generate the qSVs.
#'
#' @param type A `character(1)` specifying the transcripts set type.
#' These were determined by Joshua M. Stolz et al, 2022. Here the names "cell_component", "top1500", and "standard" refer to models that were determined to be effective in removing degradation effects.
#' The "standard" model involves taking the union of the top 1000 transcripts associated with degradation from the interaction model and the main effect model.
#' The "top1500" model is the same as the "standard model except the union of the top 1500 genes associated with degradation is selected.
#' The most effective of our models, "cell_component", involved deconvolution of the degradation matrix to determine the proportion of cell types within our studied tissue.
#' These proportions were then added to our `model.matrix()` and the union of the top 1000 transcripts in the interaction model, the main effect model, and the cell proportions model were used to generate this model of qSVs.
#' These were determined by Joshua M. Stolz
#' et al, 2022. Here the names "cell_component", "top1500", and "standard" refer
#' to models that were determined to be effective in removing degradation
#' effects. The "standard" model involves taking the union of the top 1000
#' transcripts associated with degradation from the interaction model and the
#' main effect model. The "top1500" model is the same as the "standard" model
#' except the union of the top 1500 genes associated with degradation is
#' selected. The most effective of our models, "cell_component", involved
#' deconvolution of the degradation matrix to determine the proportion of cell
#' types within our studied tissue. These proportions were then added to our
#' `model.matrix()` and the union of the top 1000 transcripts in the interaction
#' model, the main effect model, and the cell proportions models (main and
#' interaction) were used to generate this model of qSVs.
#'
#' @return A `character()` with the transcript IDs.
#' @export
Expand Down
2 changes: 1 addition & 1 deletion man/DEqual.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 13 additions & 5 deletions man/select_transcripts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions man/transcripts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 992b450

Please sign in to comment.