TargetPre: TargetByLasso

Description Usage Arguments

View source: R/TargetByLasso-package.R

Description

This package is used for key target prediction of a disease by employing the results of drug test matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
TargetPre(
  single.effect,
  combo.effect,
  ref.matrix,
  single.select.times = 100,
  single.nfold = 10,
  combo.select.times = 10,
  combo.nfold = 10,
  model = 1,
  n.cores = detectCores()
)

Arguments

single.effect

Single drugs with effects that can be binomial or continue values

combo.effect

Combination drugs with effects, only allowing binomial here

ref.matrix

A matrix from STITCH, containing all drug-target information

single.select.times

Repeat times for single feature selection, the default value is 100

single.nfold

Fold number for single selection cross-validation, the default value is 10

combo.select.times

Repeat times for combination features selection, the default value is 10

combo.nfold

Fold number for combination features selection, the default value is 10

model

The function has two models for combo selection 1 = glmnet, 2 = biglasso, the default is glmnet

n.cores

Number of cores of CPU asking for tasks running


NaijIuc/TargetByLasso documentation built on July 5, 2020, 11 a.m.