Skip to content

Commit

Permalink
Correction following a check()
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieDevis committed Oct 4, 2024
1 parent 4f8cd55 commit baa0423
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 5 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export(TCGA_expression)
export(TCGA_methylation_expression_correlation)
export(all_genes)
export(embryo_expression)
export(embryos_mean_methylation)
export(fetal_germcell_mean_methylation)
export(fetal_germcells_expression)
export(hESC_expression)
Expand Down Expand Up @@ -58,6 +59,7 @@ importFrom(ggplot2,ylim)
importFrom(ggrepel,geom_text_repel)
importFrom(grDevices,colorRampPalette)
importFrom(grid,gpar)
importFrom(grid,unit)
importFrom(rlang,.data)
importFrom(stats,cor.test)
importFrom(stats,na.omit)
Expand Down
3 changes: 3 additions & 0 deletions R/embryo_expression.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#' Petropoulos et al., Cell 2016) or from "Zhu" scRNAseq dataset ("Single-cell
#' DNA methylome sequencing of human preimplantation embryos". Zhu et al.
#' Nat genetics 2018)
#'
#' @param dataset `character`. Indicates which scRNAseq dataset to use.
#' Either Petropoulos or Zhu, no default.
#'
#' @param genes `character` nameing the selected genes. The default
#' value, `NULL`, takes all CT (specific) genes.
Expand Down
6 changes: 3 additions & 3 deletions R/embryos_mean_methylation.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' @param genes `character` naming the selected genes. The default
#' value, `NULL`, takes all CT (specific) genes.
#'
#' @param cells `character` defining the cell types to be plotted.
#' @param stage `character` defining the cell types to be plotted.
#' Can be "GV Oocyte", "MII Oocyte", "Sperm", "Zygote", "2-cell",
#' "4-cell", "8-cell", "Morula", "Blastocyst", "Post-implantation".
#'
Expand All @@ -28,15 +28,15 @@
#' @export
#'
#' @importFrom ComplexHeatmap Heatmap
#' @importFrom grid gpar
#' @importFrom grid gpar unit
#' @importFrom circlize colorRamp2
#' @importFrom grDevices colorRampPalette
#' @importFrom SummarizedExperiment rowData<- assay
#'
#'
#' @examples
#' embryos_mean_methylation()
#' embryos_mean_methylation(c("MAGEA1", "MAGEA3", "MAGEA4", "MAGEC2", "MAGEB16),
#' embryos_mean_methylation(c("MAGEA1", "MAGEA3", "MAGEA4", "MAGEC2", "MAGEB16"),
#' stage = c( "MII Oocyte", "Sperm", "Zygote", "2-cell", "4-cell", "8-cell",
#' "Morula"))
embryos_mean_methylation <- function(genes = NULL,
Expand Down
2 changes: 1 addition & 1 deletion R/fetal_germcells_mean_methylation.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @export
#'
#' @importFrom ComplexHeatmap Heatmap
#' @importFrom grid gpar
#' @importFrom grid gpar unit
#' @importFrom circlize colorRamp2
#' @importFrom grDevices colorRampPalette
#' @importFrom stats na.omit
Expand Down
1 change: 0 additions & 1 deletion R/hESC_mean_methylation.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ hESC_mean_methylation <- function(genes = NULL,
col = colorRamp2(seq_len(100),
colorRampPalette(c("moccasin", "dodgerblue4"))(100)),
na_col = "gray80",
cluster_rows = clustering_option,
cluster_columns = FALSE,
show_row_names = TRUE,
show_heatmap_legend = TRUE,
Expand Down
3 changes: 3 additions & 0 deletions man/embryo_expression.Rd

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

48 changes: 48 additions & 0 deletions man/embryos_mean_methylation.Rd

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

0 comments on commit baa0423

Please sign in to comment.