zFPKM: zFPKM Transformation

Description Usage Arguments Value Author(s) References Examples

View source: R/zfpkm.R

Description

Perform the zFPKM transform on RNA-seq FPKM data. This algorithm is based on the publication by Hart et al., 2013 (Pubmed ID 24215113). Reference recommends using zFPKM > -3 to select expressed genes. Validated with encode open/closed promoter chromatin structure epigenetic data on six of the ENCODE cell lines. Works well for gene level data using FPKM or TPM. Does not appear to calibrate well for transcript level data.

Usage

1
zFPKM(fpkmDF, assayName = "fpkm")

Arguments

fpkmDF

A SummarizedExperiment or data frame containing raw FPKM (or TPM) values. Each row corresponds to a gene/transcript and each column corresponds to a sample. NOTE: these are NOT log_2 transformed. Also, the rownames are gene/transcript names and NOT included as a separate column

assayName

When input is a SummarizedExperiment, names the specific assay. Typically one of "fpkm" or "tpm" [default = "fpkm"]

Value

zFPKM data frame

Author(s)

Ron Ammar, ron.ammar@bms.com

References

http://www.ncbi.nlm.nih.gov/pubmed/24215113

Examples

1
2
3
4
5
6
7
8
library(dplyr)
gse94802 <- "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE94nnn/GSE94802/suppl/GSE94802_Minkina_etal_normalized_FPKM.csv.gz"
temp <- tempfile()
download.file(gse94802, temp)
fpkm <- read.csv(gzfile(temp), row.names=1)
MyFPKMdf <- select(fpkm, -MGI_Symbol)

zfpkm <- zFPKM(MyFPKMdf)

zFPKM documentation built on Nov. 8, 2020, 8:06 p.m.