forked from bioinfo-pf-curie/HiTC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNAMESPACE
More file actions
75 lines (65 loc) · 2.24 KB
/
NAMESPACE
File metadata and controls
75 lines (65 loc) · 2.24 KB
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
#############################
##
## IMPORT
##
#############################
##For S4 usage
import("methods")
#import("Matrix")
import("GenomicRanges")
import("IRanges")
##Package used in HiTC
importFrom("RColorBrewer", "brewer.pal")
importFrom("Matrix", "Matrix", "sparseMatrix", "t")
importFrom("GenomeInfoDb", "seqlevels", "sortSeqlevels", "seqlengths")
importFrom("parallel", "mclapply")
importFrom("grDevices", "col2rgb", "colorRampPalette", "dev.off", "pdf", "pdf.options", "png")
importFrom("graphics", "plot", "image", "abline", "axis", "text", "barplot", "hist", "layout", "legend", "lines", "par", "points", "rect")
importFrom("stats", "prcomp", "approx", "density", "glm", "lm", "lowess", "residuals")
importFrom("utils", "combn", "object.size", "packageVersion", "read.table", "write.table")
##importFrom("MASS", "glm.nb")
importMethodsFrom("Biostrings", "detail")
importMethodsFrom("rtracklayer", "import", "export")
importMethodsFrom("Matrix", "colMeans", "colSums", "crossprod", "diag", "forceSymmetric", "isTriangular", "rowSums", "nnzero")
#############################
##
## EXPORT
##
#############################
##Export functions and generics
export(
"HTCexp","HTClist",
"binningC",
"exportC", "export.my5C", "importC", "import.my5C",
"removeIntervals", "setIntervalScale",
"CQC", "intervalsDist",
"extractRegion",
"pca.hic","getPearsonMap",
"getExpectedCounts", "normLGF","normICE", "setGenomicFeatures",
"getAnnotatedRestrictionSites", "getRestrictionFragmentsPerChromosome",
"discretize",
"directionalityIndex"
)
##Export classes
exportClasses("HTCexp", "HTClist")
##Export Methods
exportMethods(
"intdata", "intdata<-",
"id",
"y_intervals", "y_intervals<-", "x_intervals", "x_intervals<-", "xy_intervals",
"getCombinedIntervals", "getCombinedContacts",
"forcePairwise", "forceTriangular",
"isComplete", "isPairwise",
"isBinned", "isIntraChrom",
"divide", "substract",
"mapC",
"summary",
"as.list", "c", "detail", "show",
"plot",
"seqlevels",
"range", "ranges", "reduce",
"substract", "divide",
"forcePairwise", "forceSymmetric", "forceTriangular",
"isTriangular", "isSymmetric",
"normPerReads", "normPerTrans", "normPerExpected"
)