get_scores: Extract scone scores

Description Usage Arguments Value Examples

Description

Extract scone scores

Usage

1
2
3
4
5
6
7
8
9
get_scores(x)

get_score_ranks(x)

## S4 method for signature 'SconeExperiment'
get_scores(x)

## S4 method for signature 'SconeExperiment'
get_score_ranks(x)

Arguments

x

an object of class SconeExperiment.

Value

get_scores returns a matrix with all (non-missing) scone scores, ordered by average score rank.

get_score_ranks returns a vector of average score ranks.

Examples

1
2
3
4
5
6
7
8
9
set.seed(42)
mat <- matrix(rpois(500, lambda = 5), ncol=10)
colnames(mat) <- paste("X", 1:ncol(mat), sep="")
obj <- SconeExperiment(mat)
res <- scone(obj, scaling=list(none=identity, uq=UQ_FN),
           evaluate=TRUE, k_ruv=0, k_qc=0, 
           eval_kclust=2, bpparam = BiocParallel::SerialParam())
scores = get_scores(res)
score_ranks = get_score_ranks(res)

scone documentation built on Nov. 8, 2020, 5:20 p.m.