-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathNAMESPACE
102 lines (86 loc) · 2.13 KB
/
NAMESPACE
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import(methods)
importFrom("stats", "median", "pchisq", "qchisq", "runif", "rbinom", "prcomp", "lm", "glm", "family", "binomial", "pf", "qf", "cov", "sd")
importFrom("utils", "read.table", "unzip", "write.table", "zip")
importFrom("graphics", "barplot")
useDynLib(LEA, .registration=TRUE, .fixes = "R_")
#.registration = TRUE, .fixes = "R_")
#R_ancestrymap2geno, R_ancestrymap2lfmm, R_ped2lfmm, R_ped2geno,
#R_vcf2geno, R_createDataSet, R_crossEntropy, R_sNMF, R_LFMM,
#R_tracyWidom, R_lfmm2geno, R_geno2lfmm, R_pca)
# read and write functions
export(read.geno)
export(write.geno)
export(read.lfmm)
export(write.lfmm)
export(read.env)
export(write.env)
export(read.zscore)
# conversion function
export(geno2lfmm)
export(lfmm2geno)
export(ped2geno)
export(ped2lfmm)
export(vcf2geno)
export(vcf2lfmm)
export(ancestrymap2lfmm)
export(ancestrymap2geno)
export(struct2geno)
#export(haploidisation)
# classes
#exportClasses(
#pcaProject,
#snmfClass,
#snmfProject,
#lfmmClass,
#lfmmProject,
#lfmm2Class
#)
# main functions
export(create.dataset)
export(snmf)
export(cross.entropy.estimation)
export(pca)
# export(tracyWidom) <-- added as a method in pcaProject
export(lfmm)
export(lfmm2)
export(z.scores)
# method associated with the classes
exportMethods(
show,
summary,
load.snmfProject,
remove.snmfProject,
import.snmfProject,
export.snmfProject,
combine.snmfProject,
load.lfmmProject,
remove.lfmmProject,
import.lfmmProject,
export.lfmmProject,
combine.lfmmProject,
load.pcaProject,
remove.pcaProject,
import.pcaProject,
export.pcaProject,
Q,
G,
plot,
#z.scores,
lfmm.pvalues,
lfmm2.test,
snmf.pvalues,
cross.entropy,
tracy.widom,
impute,
barchart
)
# other functions
export(genetic.offset)
export(genetic.gap)
#export(barplot.Qmatrix)
#S3method(barplot.Qmatrix, "Qmatrix")
#export(.DollarNames.pcaProject)
#export(.DollarNames.snmfClass)
#export(.DollarNames.snmfProject)
#export(.DollarNames.lfmmClass)
#export(.DollarNames.snmfProject)