Using Biostring to make position frequency matrix
1
0
Entering edit mode
@fabrice-tourre-4394
Last seen 10.3 years ago
Dear list, There is a PWM function in Biostring to make position weight matrix. How can I make a position frequency matrix with Biostring? Thank you.
• 3.3k views
ADD COMMENT
0
Entering edit mode
@valerie-obenchain-4275
Last seen 2.9 years ago
United States
Hi, You can use consensusMatrix(). library(Biostrings) data(HNF4alpha) library(BSgenome.Dmelanogaster.UCSC.dm3) chr3R <- Dmelanogaster$chr3R pfm <- consensusMatrix(HNF4alpha) More examples and details on the ?consensusMatrix man page. Valerie On 12/04/2013 04:13 PM, Fabrice Tourre wrote: > Dear list, > > There is a PWM function in Biostring to make position weight matrix. > How can I make a position frequency matrix with Biostring? Thank you. > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B155 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: vobencha at fhcrc.org Phone: (206) 667-3158 Fax: (206) 667-1319
ADD COMMENT
0
Entering edit mode
Thank you very much. On Thu, Dec 5, 2013 at 12:17 PM, Valerie Obenchain <vobencha at="" fhcrc.org=""> wrote: > Hi, > > You can use consensusMatrix(). > > library(Biostrings) > data(HNF4alpha) > library(BSgenome.Dmelanogaster.UCSC.dm3) > chr3R <- Dmelanogaster$chr3R > pfm <- consensusMatrix(HNF4alpha) > > More examples and details on the ?consensusMatrix man page. > > Valerie > > > On 12/04/2013 04:13 PM, Fabrice Tourre wrote: >> >> Dear list, >> >> There is a PWM function in Biostring to make position weight matrix. >> How can I make a position frequency matrix with Biostring? Thank you. >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at r-project.org >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >> > > > -- > Program in Computational Biology > Division of Public Health Sciences > Fred Hutchinson Cancer Research Center > 1100 Fairview Ave. N, M1-B155 > P.O. Box 19024 > Seattle, WA 98109-1024 > > E-mail: vobencha at fhcrc.org > Phone: (206) 667-3158 > Fax: (206) 667-1319
ADD REPLY

Login before adding your answer.

Traffic: 733 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6