Skip to content

Questions About Using Aggregated Results from MPRAsnakeflow for Allelic Comparison #13

Description

@biozzq

Dear all,

I recently ran the MPRAsnakeflow pipeline and obtained the aggregated results from the file reporter_experiment.oligo.XXX.fromFile.default.min_oligo_threshold_10.tsv.gz. My goal is to compare the effects of different alleles on the activity of candidate regulatory sequences. Specifically, I would like to use the dna_count and rna_count generated from this file for downstream analysis. Could you please confirm if it is appropriate to directly use these aggregated results for comparing allelic effects?

library(mpra)
dna_data <- read.table("dna_count",head=T,row.names=1)
rna_data <- read.table("rna_count",head=T,row.names=1)
mpraset <- MPRASet(DNA = dna_data, RNA = rna_data, eid = rownames(dna_data), eseq = NULL, barcode = NULL)
design <- data.frame(intcpt = 1, mutant = grepl("mutant", colnames(mpraset)))
block_vector <- rep(1:3, 2)
mpralm_allele_fit <- mpralm(object = mpraset, design = design, aggregate = "none", normalize = TRUE, block = block_vector, model_type = "corr_groups", plot = TRUE)
toptab_allele <- topTable(mpralm_allele_fit, coef = 2, number = Inf)
toptab_allele

The partial contents of dna_count and rna_count are as follows:

Image

I am currently using version mpra_1.6.0. Could you please advise on how to export the normalized DNA and RNA count results?

Thank you very much for your time and assistance. I look forward to your reply.

Best wishes,
Zheng zhuqing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions