Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
Zalpha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computational Genetics
Zalpha
Commits
f7863893
Commit
f7863893
authored
May 28, 2020
by
Clare
Browse files
Options
Downloads
Patches
Plain Diff
Added an example to the documentation
parent
252b5338
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/create_LDprofile.R
+5
-0
5 additions, 0 deletions
R/create_LDprofile.R
man/create_LDprofile.Rd
+5
-0
5 additions, 0 deletions
man/create_LDprofile.Rd
with
10 additions
and
0 deletions
R/create_LDprofile.R
+
5
−
0
View file @
f7863893
...
...
@@ -20,6 +20,11 @@
#' data(snps)
#' ## Create an LD profile using this data
#' create_LDprofile(snps$distances,as.matrix(snps[,3:12]),0.001)
#' ## To get the Beta distribution parameter estimates, the fitdistrplus package is required
#' if (requireNamespace("fitdistrplus", quietly = TRUE)==TRUE) {
#' create_LDprofile(snps$distances,as.matrix(snps[,3:12]),0.001,beta_params=TRUE)
#' }
#'
#'
#' @export
#' @seealso \code{\link{Zalpha_expected}} \code{\link{Zalpha_rsq_over_expected}} \code{\link{Zalpha_log_rsq_over_expected}} \code{\link{Zalpha_Zscore}} \code{\link{Zalpha_BetaCDF}} \code{\link{Zbeta_expected}} \code{\link{Zbeta_rsq_over_expected}} \code{\link{Zbeta_log_rsq_over_expected}} \code{\link{Zbeta_Zscore}} \code{\link{Zbeta_BetaCDF}} \code{\link{Zalpha_all}}
...
...
This diff is collapsed.
Click to expand it.
man/create_LDprofile.Rd
+
5
−
0
View file @
f7863893
...
...
@@ -33,6 +33,11 @@ By default, Beta parameters are not calculated. To calcualte Beta parameters, ne
data(snps)
## Create an LD profile using this data
create_LDprofile(snps$distances,as.matrix(snps[,3:12]),0.001)
## To get the Beta distribution parameter estimates, the fitdistrplus package is required
if (requireNamespace("fitdistrplus", quietly = TRUE)==TRUE) {
create_LDprofile(snps$distances,as.matrix(snps[,3:12]),0.001,beta_params=TRUE)
}
}
\references{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment