-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathNAMESPACE
59 lines (56 loc) · 2.68 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
## Namespace
import(utils)
import(methods)
importFrom("stats", "density", "approxfun")
## import(BiocGenerics)
##import(igraph)
importFrom("stats", "binom.test", "dbinom", "pbinom")
importFrom(igraph, graph, distances, shortest_paths, V, induced_subgraph, clusters)
importClassesFrom(Matrix, "dsCMatrix")
importMethodsFrom(Matrix, as.matrix, colSums, colMeans, "[", which)
importFrom(BiocGenerics, "density")
importFrom(gap, pfc.sim)
import(kinship2)
importFrom(survey, stratsample)
importFrom("graphics", "abline", "hist", "legend", "par", "plot",
"points", "strheight", "strwidth", "text")
importFrom("grDevices", "dev.off", "pdf", "png")
importFrom("stats", "aggregate", "p.adjust", "p.adjust.methods")
##importFrom(kinship2, kinship, pedigree, plot.pedigree)
##importClassesFrom(graph, graphNEL)
##importFrom(graph, graphNEL)
## importMethodsFrom(graph, leaves, isConnected, edges, nodes, isDirected,
## removeNode)
## importFrom(DBI, dbDriver)
## importClassesFrom(AnnotationHub, AnnotationHub)
## importMethodsFrom(AnnotationHub, query, mcols)
## exported functions
export("FAData", "connectedSubgraph", "doPlotPed", "estimateTimeAtRisk",
"factor2matrix", "ped2graph", "sliceAge", "subPedigree", "switchPlotfun")
## exported classes
exportClasses("FAData", "FAProbResults", "FAKinGroupResults",
"FAKinSumResults", "FAGenIndexResults", "FAIncidenceRateResults",
"FAStdIncidenceRateResults", "FABinTestResults")
## exported methods
exportMethods("$", "[", "affectedIndividuals", "affectedKinshipGroups", "age",
"age<-", "buildPed", "cliques", "cliques<-", "cliqueAndTrait",
"export", "family", "kinship", "lambda", "pedigree", "pedigree<-",
"pedigreeSize", "phenotypedIndividuals", "removeSingletons",
"plotPed", "plotRes", "resultForId", "shareKinship", "result",
"trait", "trait<-", "traitByClique", "kinship", "timeAtRisk",
"timeAtRisk<-",
"timeInStrata")
## basic pedigree utils
exportMethods("countGenerations", "estimateGenerations", "generationsFrom",
"getAncestors", "getChildren", "getSiblings", "getMissingMate",
"getCommonAncestor", "findFounders", "getFounders",
"getSingletons")
## matched control methods
exportMethods("getAll", "getExternalMatched", "getGenerationMatched",
"getGenerationSexMatched", "getSexMatched")
## analysis methods...
exportMethods("familialIncidenceRate", "familialIncidenceRateTest", "fsir",
"fsirTest", "genealogicalIndexTest", "kinshipSumTest",
"kinshipGroupTest", "probabilityTest", "runSimulation")
export("binomialTest")
export("kinshipPairs")