calculate_ma: Calculate M (logarithmic difference) and A (logarithmic...

Description Usage Arguments Value Examples

View source: R/calculate_ma.R

Description

Function applies Logartihmic transformation on signal intensities which is a preliminary step for classification using SureTypeSC.

Usage

1

Arguments

df

data frame from scbasic(.) or compatible

Value

df with extra columns representing the results of MA transformation (m, a, m_raw and a_raw)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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')

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

#calculate MA transform and store in the original dataframe
#df %<>% calculate_ma()

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