Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use seqLogo to visualize motif

Shulou Source: shulou.com Published: 2022-06-02 06:23:15 11月15日 Update

This article mainly explains "how to use seqLogo visual motif", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to use seqLogo visual motif" bar!

SeqLogo is an R package on bioconductor designed for motif visualization of DNA sequences at the following URL

Https://www.bioconductor.org/packages/release/bioc/html/seqLogo.html

Because of the singleness of the function, its usage is also very simple. You only need to enter the PPM matrix corresponding to motif. Let's take a look at it through a practical example.

The image above shows a PFM matrix of motif, and the corresponding sequence logo can be obtained through the following steps.

1. Read PFM matrix

Save the PFM matrix in a file, pfm.txt, as follows

Note that the sequence of bases in the PFM matrix is ACGT, and the order of bases can not be changed arbitrarily. Read through R language, the code is as follows

Data

Tags: Matrix visualization content order learning code function that is tools bases problems pictures examples oneness names reality sequences ideas summation situation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia Shulou Tech Info macOS Xiaomi