Last data update: 2014.03.03

R: Calculate q-values from p-values
q-valuesR Documentation

Calculate q-values from p-values

Description

Calculates and adds a column of q-values to a list of given p-values.

Usage

qvalues(path_to_file_csv = NULL, save_name_csv)

Arguments

path_to_file_csv

file with a column with p-values. Has to contain a column called "p_value" (without the double quotes). For reference see example file.

save_name_csv

name of file to which results are saved in csv format.

Details

Takes a csv file with a column which is called 'p_values' and uses the qvalues package to calculate from this column the corresponding q-values.

Author(s)

Bettina Budeus

Examples

#Input file
file_input <- system.file("extdata", "assocpair_results.csv", package="SeqFeatR")

#Usage
qvalues(
	path_to_file_csv=file_input, 
	save_name_csv="q-values_result.csv")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SeqFeatR)
Error in library(SeqFeatR) : there is no package called 'SeqFeatR'
Execution halted