average: Take averages with alignment-free and alignment-based...

View source: R/average.R

averageR Documentation

Take averages with alignment-free and alignment-based quantification

Description

Take averages with alignment-free and alignment-based quantification

Usage

average(based_gene, free_gene, based_transcript, free_transcript)

Arguments

based_gene

gene count matrix assessed based on alignment-based workflow

free_gene

gene count matrix assessed based on alignment-free workflow

based_transcript

transcript count matrix assessed based on alignment-based workflow

free_transcript

transcript count matrix assessed based on alignment-free workflow

Value

the average of gene expression quantification with alignment-free and alignment-based quantification workflow

Examples


align_based_gene <- system.file(
'extdata', 'test_gene_alignment_based_quantification.csv', 
package = 'BP4RNAseq'
)
align_free_gene <- system.file(
'extdata', 'test_gene_alignment_free_quantification.csv', 
package = 'BP4RNAseq'
)
align_based_transcript <- system.file(
'extdata', 'test_transcript_alignment_based_quantification.csv',
package = 'BP4RNAseq'
)
align_free_transcript <- system.file(
'extdata', 'test_transcript_alignment_free_quantification.csv', 
package = 'BP4RNAseq'
)
align_based_gene <- read.csv(align_based_gene, header = TRUE)
align_free_gene <- read.csv(align_free_gene, header = TRUE)
align_based_transcript <- read.csv(align_based_transcript, header = TRUE)
align_free_transcript <- read.csv(align_free_transcript, header = TRUE)
average(
align_based_gene, align_free_gene, 
align_based_transcript, align_free_transcript
)

sunshanwen/BP4RNAseq documentation built on March 28, 2022, 5:35 p.m.