View source: R/find_sample_index_for_fastq_base.R
find_sample_index_for_fastq_base | R Documentation |
Finds raw data sample index in the event data table corresponding to a FastQ base number. The closet possible matching sample is dependent on the type of the tail.
find_sample_index_for_fastq_base(event_data, fastq_base_number, read_type)
event_data |
dataframe |
fastq_base_number |
numeric |
read_type |
character string |
numeric
## Not run:
event_data <- data.frame(start = seq(0, 150, 5),
move = 5,
model_state = sample(c("A", "T", "C", "G"), 1))
idx <- find_sample_index_for_fastq_base(event_data, 10, 'polyA')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.