forked from Zaoqu-Liu/CellProgramMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNAMESPACE
More file actions
68 lines (53 loc) · 1.85 KB
/
NAMESPACE
File metadata and controls
68 lines (53 loc) · 1.85 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
# CellProgramMapper Package Namespace
# Generated and maintained manually for precise control
# =============================================================================
# Exports - User-facing functions
# =============================================================================
# Main function
export(CellProgramMapper)
# Reference management
export(available_references)
export(load_reference)
export(download_reference)
# Consensus reference building
export(BuildConsensusReference)
# Scoring
export(compute_scores)
export(create_score_definition)
export(create_score_data)
# Built-in models
export(list_builtin_models)
export(get_lineage_probabilities)
# Data I/O
export(load_counts)
export(save_results)
export(read_npz)
export(read_df_from_npz)
# Result accessors
export(get_usage)
export(get_scores)
# Seurat integration
export(add_results_to_seurat)
# S3 methods
S3method(print, CellProgramMapperResult)
S3method(summary, CellProgramMapperResult)
# =============================================================================
# Imports - Package dependencies
# =============================================================================
import(Matrix)
import(methods)
importFrom(Rcpp, sourceCpp)
importFrom(stats, cor, sd, setNames, predict)
importFrom(utils, read.table, write.table, download.file, packageVersion, untar)
importFrom(tools, file_path_sans_ext, file_ext)
importFrom(data.table, fread, fwrite)
importFrom(curl, curl_download, new_handle)
importFrom(yaml, read_yaml)
importFrom(future, plan, multisession)
importFrom(future.apply, future_lapply)
importFrom(rappdirs, user_cache_dir)
importFrom(jsonlite, fromJSON)
# =============================================================================
# C++ Registration
# =============================================================================
useDynLib(CellProgramMapper, .registration = TRUE)