-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added badges, ORCIDs, funding, acknowledgements, and questions sections to README * ignore CRAN-SUBMISSIONS and figures in R build * Remove superfluous langauge in LICENSE
- Loading branch information
Ian Buller, PhD, MA
committed
Aug 8, 2022
1 parent
f102d90
commit 8105ea0
Showing
3 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
^vignette\.Rmd$ | ||
^dev$ | ||
^CRAN-RELEASE$ | ||
^CRAN-SUBMISSION$ | ||
^man/figures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,16 @@ sparrpowR: Power analysis to detect spatial relative clusters <img src="man/figu | |
=================================================== | ||
|
||
<!-- badges: start --> | ||
|
||
[](https://cran.r-project.org/package=sparrpowR) | ||
[](https://r-pkg.org/pkg/sparrpowR) | ||
 | ||
[](https://cran.r-project.org/package=sparrpowR) | ||
[](https://cran.r-project.org/package=sparrpowR) | ||
[](https://r-pkg.org/pkg/sparrpowR) | ||
[](https://opensource.org/licenses/Apache-2.0) | ||
 | ||
[](https://doi.org/10.5281/zenodo.5347998) | ||
|
||
<!-- badges: end --> | ||
|
||
**Date repository last updated**: August 08, 2022 | ||
|
||
<h2 id="overview"> | ||
|
||
Overview | ||
|
@@ -76,15 +76,16 @@ Authors | |
|
||
</h2> | ||
|
||
* **Ian D. Buller** - *Occupational and Environmental Epidemiology Branch, Division of Cancer Epidemiology and Genetics, National Cancer Institute, National Institutes of Health, Rockville, Maryland* - [GitHub](https://github.com/idblr) | ||
* **Ian D. Buller** - *Occupational and Environmental Epidemiology Branch, Division of Cancer Epidemiology and Genetics, National Cancer Institute, National Institutes of Health, Rockville, Maryland* - [GitHub](https://github.com/idblr) - [ORCID](https://orcid.org/0000-0001-9477-8582) | ||
|
||
* **Derek W. Brown** - *Integrative Tumor Epidemiology Branch, Division of Cancer Epidemiology and Genetics, National Cancer Institute, National Institutes of Health, Rockville, Maryland* - [GitHub](https://github.com/derekbrown12) | ||
* **Derek W. Brown** - *Integrative Tumor Epidemiology Branch, Division of Cancer Epidemiology and Genetics, National Cancer Institute, National Institutes of Health, Rockville, Maryland* - [GitHub](https://github.com/derekbrown12) - [ORCID](https://orcid.org/0000-0001-8393-1713) | ||
|
||
See also the list of [contributors](https://github.com/machiela-lab/sparrpowR/graphs/contributors) who participated in this package, including: | ||
|
||
* **Tim A. Myers** - *Laboratory of Genetic Susceptibility, Division of Cancer Epidemiology and Genetics, National Cancer Institute, National Institutes of Health, Rockville, Maryland* - [GitHub](https://github.com/timyers) | ||
|
||
## Usage | ||
|
||
``` r | ||
set.seed(1234) # for reproducibility | ||
|
||
|
@@ -142,19 +143,19 @@ stats::t.test(x = foo$t_obs, mu = 1, alternative = "two.sided") | |
# Statistical power for case-only clustering (one-tailed test) | ||
spatial_plots(foo) | ||
``` | ||
 | ||
|
||
 | ||
 | ||
|
||
 | ||
|
||
``` | ||
# Statistical power for case clustering and control | ||
clustering (two-tailed test) | ||
## Only showing second and third plot | ||
spatial_plots(foo, cascon = TRUE) | ||
``` | ||
 | ||
|
||
 | ||
 | ||
|
||
``` | ||
|
@@ -186,4 +187,19 @@ median(foo$alpha) # critical p-value of 3e-6 | |
## Only showing third plot | ||
spatial_plots(foo, cascon = TRUE) | ||
``` | ||
|
||
 | ||
|
||
### Funding | ||
|
||
This package was developed while the authors were postdoctoral fellows supported by the [Cancer Prevention Fellowship Program](https://cpfp.cancer.gov/) at the [National Cancer Institute](https://www.cancer.gov/). | ||
|
||
### Acknowledgments | ||
|
||
When citing this package for publication, please follow: | ||
|
||
citation("sparrpowR") | ||
|
||
### Questions? Feedback? | ||
|
||
For questions about the package please contact the maintainer [Dr. Ian D. Buller](mailto:[email protected]) or [submit a new issue](https://github.com/machiela-lab/sparrpowR/issues). |