getPositionQuality | R Documentation |
getPositionQuality
takes a data.frame with sequence quality scores
in the form of a strings of comma separated numeric values, split the quality
scores values by ","
, and returns a data.frame with the values
for each position.
getPositionQuality(
data,
sequence_id = "sequence_id",
sequence = "sequence_alignment",
quality_num = "quality_alignment_num"
)
data |
|
sequence_id |
column in |
sequence |
column in |
quality_num |
column in |
data
with one additional field with masked sequences. The
name of this field is created concatenating sequence
and '_masked'.
readFastqDb and maskPositionsByQuality
db <- airr::read_rearrangement(system.file("extdata", "example_quality.tsv", package="alakazam"))
fastq_file <- system.file("extdata", "example_quality.fastq", package="alakazam")
db <- readFastqDb(db, fastq_file, quality_offset=-33)
head(getPositionQuality(db))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.