#Input files
fasta_input <- system.file("extdata", "Example_aa.fasta", package="SeqFeatR")
epitopes_input <- system.file("extdata", "Example_epitopes_aa.csv", package="SeqFeatR")
motifs_input <- system.file("extdata", "Example_HLA_binding_motifs_aa.csv", package="SeqFeatR")
own_model_input <- system.file("extdata", "Example_model_for_bayes.txt", package="SeqFeatR")
reference_input <- system.file("extdata", "Example_reference_aa.fasta", package="SeqFeatR")
#Usage
if (FALSE) {
assocpointhierarchical(
path_to_file_sequence_alignment=fasta_input,
path_to_file_known_epitopes=epitopes_input,
path_to_file_binding_motifs=motifs_input,
save_name_pdf = "assocpointhierarchical_results.pdf",
save_name_csv = "assocpointhierarchical_results.csv",
dna = FALSE,
patnum_threshold = 1,
optical_significance_level = 97,
star_significance_level = 99,
A11 = 10,
A12 = 11,
A21 = 13,
A22 = 14,
B11 = 17,
B12 = 18,
B21 = 20,
B22 = 21,
path_to_file_reference_sequence = reference_input,
one_feature=FALSE,
window_size=9,
epi_plot=TRUE,
own_model=own_model_input,
number_of_simulations=20,
number_of_burnin=floor(20/2),
number_of_chains=2,
response_inits="'vcounts' = rep(1, length(all_of_letters)),
'theta' = array(1/length(all_of_letters),
dim=c(2, length(all_of_letters), min_FASTA_length))",
further_response_data=c(),
response_parameters=c("theta", "vcounts"))
}
Run the code above in your browser using DataLab