Description Usage Arguments Value Examples
Extracts data from a protein NMR experimental peak list.
read_raw_file()
function reads in a user provided protein NMR experimental peak list. It currently supports file format in csv, txt with deliminator of comma, whitespace or semicolon.
Note: please don't leave space between sequence and chemical shifts data, otherwise it will report error.
1 | read_raw_file(file_path, delim = "comma", assigned = FALSE)
|
file_path |
File path where input chemical shifts file is located |
delim |
Delimiter for parsing file |
assigned |
Flag tell whether the input chemical shifts file is already assigned or not |
A list contains protein sequence and chemical shift table.
1 2 3 4 5 6 7 8 9 10 11 12 13 | input_type = "ws"
sample_file_path = system.file("extdata", "sample_input_ws.txt", package = "BaMORC")
head(read_raw_file(file_path=sample_file_path, delim="ws"))
input_type = "csv"
sample_file_path = system.file("extdata", "sample_input.csv", package = "BaMORC")
head(read_raw_file(file_path=sample_file_path, delim="comma"))
unlink("sample_input.csv")
input_type = "sc"
sample_file_path = system.file("extdata", "sample_input_sc.txt", package = "BaMORC")
head(read_raw_file(file_path=sample_file_path, delim="semicolon"))
unlink("sample_input_sc.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.