forked from NESCent/popgenInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_contrib.Rmd
60 lines (44 loc) · 1.43 KB
/
example_contrib.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: "Template Workflow"
author: "Author name"
date: "date"
output: html_document
---
Introduction
=========
Explain the purpose of the vignette.
Give a brief explanation of the questions that will be answered and some background information.
Assumptions
============
- Assumption 1
- Assumption 2
Data
==========
Links to information about the data if needed e.g. package vignettes.
Link to the data to download for the workflow if it is public data or in this repository. Can download into R here and show the code.
Format the users data needs to be in for this to work (import data and show a section to demonstrate if needed).
Resources/Packages required
=============
Packages required. Say where these can be found, can link to the list of packages on our repository page here also.
Loading the required packages:
```{r, packages, message=FALSE}
library(hierfstat)
library(adegenet)
```
Analysis divided into sections
==========================================
Example Sections
##Section 1: Load the data
```{r, loaddata, eval=FALSE}
nancycats <- import2genind("nancycats.dat")
head(nancycats)
```
##Section 2: Exploratory Data analysis/Checking assumptions
##Section 3: Summary statistics
##Section N: Conclusions drawn from the analysis
Whats next
=======================
Information on further analysis that could be done, other workflows
###Session Information
```{r,sessioninfo, echo=FALSE}
sessionInfo()