rewritetuple: Rewrite result from SeqFeatRs assoctuple

Description Usage Arguments Details Author(s) See Also Examples

Description

Function to reqrite output from SeqFeatRs assoctuple into an usable form for SeqFeatRs tartan.

Usage

1
2
rewritetuple(path_to_file_assoctuple_csv_result = NULL, save_name_csv, 
first_position, second_position, value_position, separator, threshold)

Arguments

path_to_file_assoctuple_csv_result

csv file with results from SeqFeatRs assoctuple function. For reference see example file.

save_name_csv

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

first_position

column position of first sequence position.

second_position

column position of second sequence position.

value_position

column position of p-value.

separator

separator of csv input file (usually ";", ",", "\t").

threshold

p-value threshold, below which data is to be included in result.

Details

Extracts the two sequence positions and p-value if it is below the threshold and generates output csv file for SeqFeatRs tartan with these values.

Author(s)

Bettina Budeus

See Also

assoctuple

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#Input file
assoctuple_result <- system.file("extdata", "assoctuple_result.csv", package="SeqFeatR")

#Usage
rewritetuple(
	path_to_file_assoctuple_csv_result=assoctuple_result, 
	save_name_csv="rewritetuple_result.csv", 
	first_position=3, 
	second_position=4, 
	value_position=10, 
	separator="\t", 
	threshold=0.1)

SeqFeatR documentation built on May 2, 2019, 3:10 p.m.