ScoreExtract: ScoreExtract

View source: R/main.R

ScoreExtractR Documentation

ScoreExtract

Description

Extract the score information from object (S3:DNB_output)

Usage

ScoreExtract(
  object,
  ranking = NULL,
  group = NULL,
  resource = NULL,
  quiet = FALSE,
  ...
)

Arguments

object

S3:DNB_output

ranking

the ranking of exactly module, default 1 if NULL

group

which group to select module, default random selected if NULL

resource

the actual module name, ranking & group will be ignored if use

quiet

do not message

...

for future use

Value

data.frame

Author(s)

Kaiyu Wang, in ChenLab of CAS, Shanghai, China

Examples

data(data.example)
data(meta.example)
a <- DNBcompute(data.example, meta.example)
b <- DNBfilter(a, ntop = 5)
df_score <- ScoreExtract(
    object = b,
    ranking = NULL,
    group = NULL
)
df_score


Kaiyu-W/DNBr documentation built on April 27, 2024, 10:09 a.m.