Browse code

local BiocCheck error fix

Yichen Wang authored on 10/05/2021 22:58:10
Showing 1 changed files
... ...
@@ -24,6 +24,6 @@ significance.
24 24
 \examples{
25 25
 data("mouseBrainSubsetSCE")
26 26
 res <- calcEffectSizes(assay(mouseBrainSubsetSCE, "counts"),
27
-                       condition = colData(mouseBrainSubsetSCE)[, "level1class"])
27
+                       condition = colData(mouseBrainSubsetSCE)$level1class)
28 28
 
29 29
 }
Browse code

Consistent use of camel case throughout the app

David Jenkins authored on 06/04/2018 20:11:01
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 % Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/Downsample.Matrix.R
2
+% Please edit documentation in R/DownsampleMatrix.R
3 3
 \name{calcEffectSizes}
4 4
 \alias{calcEffectSizes}
5 5
 \title{Finds the effect sizes for all genes in the original dataset, regardless of
... ...
@@ -22,8 +22,8 @@ Finds the effect sizes for all genes in the original dataset, regardless of
22 22
 significance.
23 23
 }
24 24
 \examples{
25
-data("mouse_brain_subset_sce")
26
-res <- calcEffectSizes(assay(mouse_brain_subset_sce, "counts"),
27
-                       condition = colData(mouse_brain_subset_sce)[, "level1class"])
25
+data("mouseBrainSubsetSCE")
26
+res <- calcEffectSizes(assay(mouseBrainSubsetSCE, "counts"),
27
+                       condition = colData(mouseBrainSubsetSCE)[, "level1class"])
28 28
 
29 29
 }
Browse code

Removed examples that weren't being used. Updated requirement to 3.5 for bioconductor release, changednged the name of the GSE60361 dataset to be more descriptive. Added a link to the data source. Fixed DESeq2 bug. Version bump

David Jenkins authored on 20/03/2018 23:51:57
Showing 1 changed files
... ...
@@ -22,8 +22,8 @@ Finds the effect sizes for all genes in the original dataset, regardless of
22 22
 significance.
23 23
 }
24 24
 \examples{
25
-data("GSE60361_subset_sce")
26
-res <- calcEffectSizes(assay(GSE60361_subset_sce, "counts"),
27
-                       condition = colData(GSE60361_subset_sce)[, "level1class"])
25
+data("mouse_brain_subset_sce")
26
+res <- calcEffectSizes(assay(mouse_brain_subset_sce, "counts"),
27
+                       condition = colData(mouse_brain_subset_sce)[, "level1class"])
28 28
 
29 29
 }
Browse code

Updates to pass BiocCheck

David Jenkins authored on 22/02/2018 23:37:15
Showing 1 changed files
... ...
@@ -21,3 +21,9 @@ A vector of cohen's d effect sizes for each gene.
21 21
 Finds the effect sizes for all genes in the original dataset, regardless of
22 22
 significance.
23 23
 }
24
+\examples{
25
+data("GSE60361_subset_sce")
26
+res <- calcEffectSizes(assay(GSE60361_subset_sce, "counts"),
27
+                       condition = colData(GSE60361_subset_sce)[, "level1class"])
28
+
29
+}
Browse code

Documentation updates to add examples and fix indentation

David Jenkins authored on 16/02/2018 22:45:56
Showing 1 changed files
... ...
@@ -2,18 +2,22 @@
2 2
 % Please edit documentation in R/Downsample.Matrix.R
3 3
 \name{calcEffectSizes}
4 4
 \alias{calcEffectSizes}
5
-\title{Finds the effect sizes for all genes in the original dataset, regardless of significance.}
5
+\title{Finds the effect sizes for all genes in the original dataset, regardless of
6
+significance.}
6 7
 \usage{
7 8
 calcEffectSizes(countMatrix, condition)
8 9
 }
9 10
 \arguments{
10 11
 \item{countMatrix}{Matrix. A simulated counts matrix, sans labels.}
11 12
 
12
-\item{condition}{Factor. The condition labels for the simulated cells. If more than 2 conditions are given, the first will be compared to all others by default.}
13
+\item{condition}{Factor. The condition labels for the simulated cells. If
14
+more than 2 conditions are given, the first will be compared to all others by
15
+default.}
13 16
 }
14 17
 \value{
15 18
 A vector of cohen's d effect sizes for each gene.
16 19
 }
17 20
 \description{
18
-Finds the effect sizes for all genes in the original dataset, regardless of significance.
21
+Finds the effect sizes for all genes in the original dataset, regardless of
22
+significance.
19 23
 }
Browse code

ran devtools::document()

David Jenkins authored on 06/11/2017 22:35:53
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,19 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/Downsample.Matrix.R
3
+\name{calcEffectSizes}
4
+\alias{calcEffectSizes}
5
+\title{Finds the effect sizes for all genes in the original dataset, regardless of significance.}
6
+\usage{
7
+calcEffectSizes(countMatrix, condition)
8
+}
9
+\arguments{
10
+\item{countMatrix}{Matrix. A simulated counts matrix, sans labels.}
11
+
12
+\item{condition}{Factor. The condition labels for the simulated cells. If more than 2 conditions are given, the first will be compared to all others by default.}
13
+}
14
+\value{
15
+A vector of cohen's d effect sizes for each gene.
16
+}
17
+\description{
18
+Finds the effect sizes for all genes in the original dataset, regardless of significance.
19
+}