rhondabacher / SCnorm

Normalization for single cell RNA-seq data
47 stars 9 forks source link

Use SCnorm to SingleCell Data. #35

Open FeiranXiang opened 3 years ago

FeiranXiang commented 3 years ago

hey, I am sorry to bother you. When I use SCnorm to normalisation the dataset. it alerts that "Must supply gene/row names!". But I do it follow the SCnorm_vignette.pdf. What should I do about it? Do I need to provide the row names for SCnorm. And how can I provide row names to SCnorm? Thanks. Best regards.

rhondabacher commented 3 years ago

Hi Feiran,

Thanks for using SCnorm! If you have a data matrix named Data, then you can add rownames via: rownames(Data) <- (your vector containing row names)

If you are just trying to run an example then you could temporarily do something like: rownames(Data) <- as.character(seq(1,nrow(Data)))

If this does not resolve your question, please reply with the lines of code that are not working and I am happy to help.

Best, Rhonda

On Mon, Apr 19, 2021 at 10:27 PM Feiran Xiang @.***> wrote:

hey, I am sorry to bother you. When I use SCnorm to normalisation the dataset. it alerts that "Must supply gene/row names!". But I do it follow the SCnorm_vignette.pdf. What should I do about it? Do I need to provide the row names for SCnorm. And how can I provide row names to SCnorm? Thanks. Best regards.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rhondabacher/SCnorm/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSOD3CLJ5NKQ7CLEEHCH33TJTRB7ANCNFSM43HGGTJA .

-- Rhonda Bacher, PhD Assistant Professor Department of Biostatistics University of Florida Office: 5239 CTRB Phone: 352-294-5914 Email: @.***

http://rhondabacher.com/