bayesprot_fit: Interrogating the 'bayesprot' fit object

Description Usage Arguments

Description

Get information from a bayesprot fit.

Usage

 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
bayesprot_fit(dir = "bayesprot", quiet = FALSE, force = FALSE)

start_parallel(fit, nthread = control(fit)$nthread)

stop_parallel()

del(fit)

control(fit)

design(fit, as.data.table = F)

features(fit, as.data.table = FALSE)

peptides(fit, as.data.table = FALSE)

proteins(fit, as.data.table = FALSE)

ref_assays(fit, key = 1)

norm_func(fit, key = 1)

dea_func(fit, key = 1)

fdr_func(fit, key = 1)

squeeze_var_func(fit, key = 1)

dist_var_func(fit, key = 1)

dist_mean_func(fit, key = 1)

## S3 method for class 'bayesprot_fit'
summary(fit, proteinID, stage = "")

timings(fit, stage = "", as.data.table = F)

feature_vars(fit, featureIDs = NULL, summary = TRUE, stage = "",
  chains = 1:control(fit)$model.nchain, as.data.table = FALSE)

peptide_vars(fit, peptideIDs = NULL, summary = TRUE, stage = "",
  chains = 1:control(fit)$model.nchain, as.data.table = FALSE)

assay_vars(fit, proteinIDs = NULL, summary = TRUE, stage = "",
  chains = 1:control(fit)$model.nchain, as.data.table = FALSE)

peptide_deviations(fit, peptideIDs = NULL, summary = TRUE,
  stage = "", chains = 1:control(fit)$model.nchain,
  as.data.table = FALSE)

protein_quants(fit, proteinIDs = NULL, summary = TRUE,
  norm.func.key = as.integer(summary),
  ref.assays.key = ifelse(is.null(norm.func.key), 1, norm.func.key),
  stage = "", chains = 1:control(fit)$model.nchain,
  as.data.table = FALSE)

protein_de(fit, proteinIDs = NULL, key = 1, dist.mean.func.key = key,
  norm.func.key = dist.mean.func.key, ref.assays.key = norm.func.key,
  as.data.table = FALSE)

protein_fdr(fit, proteinIDs = NULL, key = 1, dea.func.key = key,
  dist.mean.func.key = dea.func.key,
  norm.func.key = dist.mean.func.key, ref.assays.key = norm.func.key,
  as.data.table = FALSE)

Arguments

dir

directory containing the bayesprot fit to read

fit

bayesprot_fit object created by bayesprot.


biospi/bayesprot documentation built on Nov. 9, 2019, 2:40 p.m.