scload: Load classifier from file

Description Usage Arguments Value Examples

View source: R/scload.R

Description

Load pre-trained classifier from file.

Usage

1
scload(filename)

Arguments

filename

path to a file with classifier

Value

instance of a classifier

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
setwd(system.file(package='SureTypeSCR'))

samplesheet=system.file('files/GSE19247_example.csv',package='SureTypeSCR')
manifest=system.file('files/HumanCytoSNP-12v2_H.bpm',package='SureTypeSCR')
cluster=system.file('files/HumanCytoSNP-12v2_H.egt',package='SureTypeSCR')
clf=system.file('files/rf.clf',package='SureTypeSCR')


#Load data
df=scbasic(manifest,cluster,samplesheet)

rf=scload(clf)
#df %>% calculate_ma() %>% predict_suretype(rf)

Meiomap/SureTypeSCR documentation built on Dec. 17, 2021, 3:22 a.m.