Question: GOseq Probability Weight Function Interpretation and Use
gravatar for matt.a.bennett25890
2.2 years ago by
matt.a.bennett258900 wrote:


Looking to get some feedback on a probability weight function (PWF) curve I've generated using GOseq. As I understand it, as long as the curves fit the data points reasonably then the downstream analysis will be ok however mine look a bit strange compared to examples I've seen elsewhere. This seems to be mainly due to a few extreme outliers and I'm wondering whether these will be affecting the results unduly and whether there is a way to account for these within the nullp() function. Also whether I've made some mistake in the gene length determination... Here is my process

A) Get length data for Hg38 from Ensembl and filter for only my expressed genes (filtered by all genes with count >1 in treatment of interest - too low?):

txdb <- makeTxDbFromEnsembl("Homo sapiens", release = 89)
lengthfilt <- lengthData[names(lengthData) %in% names(gene_list)]

B) Use nullp() to generate a PWF for the expressed genes based on their respective lengths

pwf = nullp(clustVsAll, "hg38", "ensGene", = lengthfilt)

pwf curve

Any help/feedback much appreciated!

rna-seq goseq gene ontology • 992 views
ADD COMMENTlink modified 23 months ago by i.sudbery7.7k • written 2.2 years ago by matt.a.bennett258900
gravatar for i.sudbery
23 months ago by
Sheffield, UK
i.sudbery7.7k wrote:

I think your problem is probably in this line here:


What you are doing here is getting the length of the primary transcript: i.e. the distance from the TSS to the TTS. Actually what you need is the sum of the exon lengths (i.e. excluding the introns). You can get this with the transcriptLengths() function.

ADD COMMENTlink written 23 months ago by i.sudbery7.7k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2141 users visited in the last hour