Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while running ballgown package #164

Open
Pallavimore opened this issue Oct 23, 2019 · 2 comments
Open

Problem while running ballgown package #164

Pallavimore opened this issue Oct 23, 2019 · 2 comments

Comments

@Pallavimore
Copy link

I am using a ballgown R package to Run the differential expression analysis. Following is my pheno data example. I have two conditions and 3 replicates.

ids      Treatment cell
sample1  drug1   wt1C7
sample2  drug1   wt1C7
sample3  drug1   wt1C7
sample4  drug2   pv1ko
sample5  drug2   pv1ko
sample6  drug2   pv1ko
pheno_data = read.csv("phenodata.csv")
bg = ballgown(dataDir = "ballgown", samplePattern = "sample", pData=pheno_data)
bg_filt = subset(bg,"rowVars(texpr(bg)) > 1",genomesubset=TRUE)
results_transcripts = stattest(bg_filt, feature="transcript", covariate="cell", adjustvars = c("Treatment"), getFC=TRUE, meas="FPKM")
I am getting an error when I run the following command.
results_transcripts = stattest(bg_filt, feature="transcript", covariate="cell", adjustvars = c("Treatment"), getFC=TRUE, meas="FPKM")

Error message :
Error in solve.default(t(mod) %*% mod) :
system is computationally singular: reciprocal condition number = 7.38788e-28
In addition: Warning message:
Partial NA coefficients for 20083 probe(s)

Could anyone please help me to solve the above error?

@alyssafrazee
Copy link
Owner

alyssafrazee commented Oct 23, 2019 via email

@Pallavimore
Copy link
Author

Thank you so much for the explanation. It worked now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants